X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2F__init__.py;h=9bb952457e149f3687efd0ca925aed8d69996366;hb=3e78d23b5783d01f60bcb515febd5a590a734ee4;hp=f9898082a3807a31c9e89b209d55156f324b5012;hpb=7d2b4aa04790b51a0b2b717eed618296115061a8;p=youtube-dl 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: