aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-09-14 16:36:42 +0100
committerRemita Amine <remitamine@gmail.com>2016-09-14 16:37:21 +0100
commit5712c0f42639cd183b0dfbc51482592e790e99d1 (patch)
tree533e8560f7e25304b34780fdfa6970f2c90a593c /youtube_dl/__init__.py
parent86d68f906e21a6674f9f8676b22a47414b6c9fd2 (diff)
[adobepass] remove unnecessary option
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 052f20ee7..cdff3df65 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -179,8 +179,6 @@ def _real_main(argv=None):
opts.retries = parse_retries(opts.retries)
if opts.fragment_retries is not None:
opts.fragment_retries = parse_retries(opts.fragment_retries)
- if opts.ap_retries is not None:
- opts.ap_retries = parse_retries(opts.ap_retries)
if opts.buffersize is not None:
numeric_buffersize = FileDownloader.parse_bytes(opts.buffersize)
if numeric_buffersize is None:
@@ -308,7 +306,6 @@ def _real_main(argv=None):
'ap_mso_id': opts.ap_mso_id,
'ap_username': opts.ap_username,
'ap_password': opts.ap_password,
- 'ap_retries': opts.ap_retries,
'quiet': (opts.quiet or any_getting or any_printing),
'no_warnings': opts.no_warnings,
'forceurl': opts.geturl,