From a5490c4264aa2ca788bf260384cddce1341ffab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Deparis?= Date: Mon, 13 Oct 2014 00:37:20 +0200 Subject: [PATCH] Fix maxitems command line option never parsed --- feed2twister.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed2twister.py b/feed2twister.py index 1cf63e6..e94e797 100644 --- a/feed2twister.py +++ b/feed2twister.py @@ -121,7 +121,7 @@ def main(max_items): if __name__=='__main__': - if args.maxitems: + if args.maxitems != None: n = args.maxitems elif main_config['max_new_items_per_feed']: n = int(main_config['max_new_items_per_feed'])