diff options
author | David Ben Zakai <david.benzakai@gmail.com> | 2015-11-10 17:15:23 +0200 |
---|---|---|
committer | David Ben Zakai <david.benzakai@gmail.com> | 2015-11-10 17:15:23 +0200 |
commit | 90bb5667bf32574caa7c01f66b3ca8ad2ab77e81 (patch) | |
tree | 569aae3b31bcac381477a49263c494b395908466 /youtube_dl/__init__.py | |
parent | d3d3e2e3aac13c3c6fbae0fcfeaa41ce5ee9144b (diff) |
Using internal opener
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 760128546..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, ydl.get_opener()) + update_self(ydl.to_screen, opts.verbose, ydl._opener) # Remove cache dir if opts.rm_cachedir: |