mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-04-19 21:44:49 +09:00
retries cannot be None, because a default was set
retries cannot be None, because a default of 10 was set in add_option
This commit is contained in:
parent
b7a34316d2
commit
76d7235f08
@ -441,7 +441,6 @@ def _real_main():
|
||||
if numeric_limit is None:
|
||||
parser.error(u'invalid rate limit specified')
|
||||
opts.ratelimit = numeric_limit
|
||||
if opts.retries is not None:
|
||||
try:
|
||||
opts.retries = long(opts.retries)
|
||||
except (TypeError, ValueError), err:
|
||||
|
Loading…
x
Reference in New Issue
Block a user