From f1bb729b3396329e8ba660f95c168bafb7460450 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Fri, 30 Sep 2016 13:16:16 -0500 Subject: [PATCH] Fix CLI --infile to work properly. --- fanficfare/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fanficfare/cli.py b/fanficfare/cli.py index 4c9e7c1c..1d025e4d 100644 --- a/fanficfare/cli.py +++ b/fanficfare/cli.py @@ -170,7 +170,8 @@ def main(argv=None, urls=args - if not list_only and not (args or any((options.downloadimap, + if not list_only and not (args or any((options.infile, + options.downloadimap, options.downloadlist))): parser.print_help(); return