summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-06-05 20:26:05 +0930
committerdaniel-Jones <daniel@danieljon.es>2018-06-05 20:26:05 +0930
commit59bf9ef950d5d1f04c3af18554b6ef7a2492ade8 (patch)
tree07b504db8f0d4de891f5b5bf62165d83a7ad74e1
parente52861b6e2c674239acdf9ab166571e8b63aa1bb (diff)
downloadanimedb-59bf9ef950d5d1f04c3af18554b6ef7a2492ade8.tar.gz
animedb-59bf9ef950d5d1f04c3af18554b6ef7a2492ade8.zip
don't require database file argument
-rwxr-xr-ximagescraper/imagescraper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/imagescraper/imagescraper.py b/imagescraper/imagescraper.py
index da97ae6..bd3f05a 100755
--- a/imagescraper/imagescraper.py
+++ b/imagescraper/imagescraper.py
@@ -91,7 +91,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser();
parser.add_argument("-d", "--database", type=str, action="store", dest="dbfile",
- default="../userdb.db", required=True,
+ default="../userdb.db", required=False,
help="sqlite3 database file containing anime information");
parser.add_argument("-o", "--output", type=str, action="store", dest="outdir",
default="../output/covers", required=False,