mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-07-22 09:27:11 +00:00
[cleanup] Misc (#17031)
Closes #17104 Authored by: seproDev, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -296,7 +296,7 @@ def validate_options(opts):
|
||||
default_step = start if op or limit else 0
|
||||
return lambda n: min(float(start) + float(step or default_step) * n, float(limit or 'inf'))
|
||||
|
||||
for key, expr in opts.retry_sleep.items():
|
||||
for key, expr in list(opts.retry_sleep.items()):
|
||||
if not expr:
|
||||
del opts.retry_sleep[key]
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user