Accept float values for --sleep-subtitles (#15282)
Closes #15269 Authored by: 0xvd
This commit is contained in:
parent
c5e55e0479
commit
f6dc7d5279
1 changed files with 1 additions and 1 deletions
|
|
@ -1212,7 +1212,7 @@ def create_parser():
|
|||
help='Maximum number of seconds to sleep. Can only be used along with --min-sleep-interval')
|
||||
workarounds.add_option(
|
||||
'--sleep-subtitles', metavar='SECONDS',
|
||||
dest='sleep_interval_subtitles', default=0, type=int,
|
||||
dest='sleep_interval_subtitles', default=0, type=float,
|
||||
help='Number of seconds to sleep before each subtitle download')
|
||||
|
||||
verbosity = optparse.OptionGroup(parser, 'Verbosity and Simulation Options')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue