mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-28 14:53:40 +03:00
Whitespace according to autopep8
This commit is contained in:
+2
-2
@@ -238,7 +238,7 @@ def validate_options(opts):
|
||||
return int_value
|
||||
|
||||
def parse_range_with_arg(name, arg_name, value,
|
||||
parse_limits=parse_duration, parse_arg=parse_retries):
|
||||
parse_limits=parse_duration, parse_arg=parse_retries):
|
||||
# syntax: MIN[-MAX][:N]
|
||||
m = re.fullmatch(r'([^-:]+)(-[^:]+)?(:.+)?', value)
|
||||
validate(m, name, value)
|
||||
@@ -254,7 +254,7 @@ def validate_options(opts):
|
||||
|
||||
if opts.wait_for_video is not None:
|
||||
min_wait, max_wait, wait_retries = parse_range_with_arg(
|
||||
'time range to wait for video', 'waiting', opts.wait_for_video)
|
||||
'time range to wait for video', 'waiting', opts.wait_for_video)
|
||||
opts.wait_for_video = (min_wait, max_wait, wait_retries)
|
||||
|
||||
# Format sort
|
||||
|
||||
Reference in New Issue
Block a user