aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorDavid Ben Zakai <[email protected]>2015-11-10 16:31:31 +0200
committerDavid Ben Zakai <[email protected]>2015-11-10 16:31:42 +0200
commitd3d3e2e3aac13c3c6fbae0fcfeaa41ce5ee9144b (patch)
tree23c4e033000f7afdea1700570c87775bcf6934a1 /youtube_dl/__init__.py
parent37ca7b22b5521d7797ffefcd1456b4eb31320460 (diff)
downloadyoutube-dl-d3d3e2e3aac13c3c6fbae0fcfeaa41ce5ee9144b.tar.gz
youtube-dl-d3d3e2e3aac13c3c6fbae0fcfeaa41ce5ee9144b.zip
Adding proxy to update procedure
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 5e2ed4d4b..760128546 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -377,7 +377,7 @@ def _real_main(argv=None):
with YoutubeDL(ydl_opts) as ydl:
# Update version
if opts.update_self:
- update_self(ydl.to_screen, opts.verbose)
+ update_self(ydl.to_screen, opts.verbose, ydl.get_opener())
# Remove cache dir
if opts.rm_cachedir: