Revert "Respect --prefer-insecure while updating (closes #15497)"

This reverts commit 7d2b4aa047.
This commit is contained in:
Sergey M․ 2018-02-27 22:30:08 +07:00
parent 266fbd6b73
commit 0c3e5f4921
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
3 changed files with 6 additions and 11 deletions

View 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: