about summary refs log tree commit diff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-02-27 22:30:08 +0700
committerSergey M․ <dstftw@gmail.com>2018-02-27 22:30:08 +0700
commit0c3e5f4921760f0d5c743c47a1205f734b67fcb7 (patch)
treeb0912e68fd0fce9442fe2f69a52e2081a85f7aa5 /youtube_dl/__init__.py
parent266fbd6b7389887960f74f5e989ba24109665eb6 (diff)
downloadyoutube-dl-0c3e5f4921760f0d5c743c47a1205f734b67fcb7.tar.gz
youtube-dl-0c3e5f4921760f0d5c743c47a1205f734b67fcb7.tar.xz
youtube-dl-0c3e5f4921760f0d5c743c47a1205f734b67fcb7.zip
Revert "Respect --prefer-insecure while updating (closes #15497)"
This reverts commit 7d2b4aa04790b51a0b2b717eed618296115061a8.
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 f9898082a..9bb952457 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -438,7 +438,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._opener, opts.prefer_insecure)
+            update_self(ydl.to_screen, opts.verbose, ydl._opener)
 
         # Remove cache dir
         if opts.rm_cachedir: