1
0
Fork 0
mirror of synced 2024-06-02 18:34:37 +12:00

0 input for no limit

This commit is contained in:
Ali Parlakci 2018-07-20 13:01:21 +03:00
parent 50c4a8d6d7
commit 8128378dcd
2 changed files with 6 additions and 1 deletions

View file

@ -53,6 +53,9 @@ It should redirect to a page which shows your **imgur_client_id** and **imgur_cl
them, there.
## Changelog
### [20/07/2018]()
- "0" input for no limit
### [19/07/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/41cbb58db34f500a8a5ecc3ac4375bf6c3b275bb)
- Added v.redd.it support
- Added custom exception descriptions to FAILED.json file

View file

@ -320,7 +320,9 @@ class PromptUser:
while True:
try:
GLOBAL.arguments.limit = int(input("\nlimit: "))
GLOBAL.arguments.limit = int(input("\nlimit (0 for none): "))
if GLOBAL.arguments.limit == 0:
GLOBAL.arguments.limit = None
break
except ValueError:
pass