Revert "Respect --prefer-insecure while updating (closes #15497)"
[youtube-dl] / youtube_dl / __init__.py
index f9898082a3807a31c9e89b209d55156f324b5012..9bb952457e149f3687efd0ca925aed8d69996366 100644 (file)
@@ -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: