diff options
author | Sergey M <dstftw@gmail.com> | 2015-11-15 11:13:22 +0000 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2015-11-15 11:13:22 +0000 |
commit | b328295910c2d69822819450617cff2a1cf53106 (patch) | |
tree | f8f2007509d7ad796f0b39cf25f75886adbd51e4 /youtube_dl/__init__.py | |
parent | 2ff7cbeaaabbc8d67caa224a5cef1fbd32761918 (diff) | |
parent | 828b2a5cd971ae04469aeb7b11dfeaab7962c4d9 (diff) | |
download | youtube-dl-b328295910c2d69822819450617cff2a1cf53106.tar.xz |
Merge pull request #7436 from davidbz/add_proxy_to_update_procedure
Add proxy support for update_self
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r-- | youtube_dl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 5e2ed4d4b..9f131f5db 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._opener) # Remove cache dir if opts.rm_cachedir: |