aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-23 12:07:13 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-23 12:07:13 +0100
commit649f7966f73b215f02b9c4db5a07d8c4b7e17acb (patch)
tree59d426d14d6b98fd953caa94c5264212617cd125 /youtube_dl/options.py
parent5f0d813d9395848e92a1c6d83335360652d654c1 (diff)
Fix --sleep-interval (#3426)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 12c9826f8..262c60013 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -423,7 +423,7 @@ def parseOpts(overrideArguments=None):
help='Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH')
workarounds.add_option(
'--sleep-interval', metavar='SECONDS',
- dest='sleep_interval',
+ dest='sleep_interval', type=float,
help='Number of seconds to sleep before each download.')
verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options')