From 59bf9ef950d5d1f04c3af18554b6ef7a2492ade8 Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Tue, 5 Jun 2018 20:26:05 +0930 Subject: don't require database file argument --- imagescraper/imagescraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3