X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2F__init__.py;h=7bd7295e2744ce57f3a0dd6d2df40e2ee70c6c43;hb=48f00d15b1bdbe05be397849f6659fe5e0daa9c1;hp=ea16604525b6f85125e63a41621bae579c4d9518;hpb=5f0d813d9395848e92a1c6d83335360652d654c1;p=youtube-dl diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index ea1660452..7bd7295e2 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -132,11 +132,6 @@ def _real_main(argv=None): if numeric_limit is None: parser.error('invalid rate limit specified') opts.ratelimit = numeric_limit - if opts.sleepinterval is not None: - try: - opts.sleepinterval = abs(int(opts.sleepinterval)) - except ValueError: - parser.error(u'invalid sleep interval specified') if opts.min_filesize is not None: numeric_limit = FileDownloader.parse_bytes(opts.min_filesize) if numeric_limit is None: @@ -272,7 +267,6 @@ def _real_main(argv=None): 'restrictfilenames': opts.restrictfilenames, 'ignoreerrors': opts.ignoreerrors, 'ratelimit': opts.ratelimit, - 'sleepinterval': opts.sleepinterval, 'nooverwrites': opts.nooverwrites, 'retries': opts.retries, 'buffersize': opts.buffersize,