mirror of
https://github.com/twisterarmy/feed2twister.git
synced 2025-02-01 01:24:21 +00:00
Fix maxitems command line option never parsed
This commit is contained in:
parent
0561f8b0ab
commit
a5490c4264
@ -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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user