X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2F__init__.py;fp=youtube_dl%2F__init__.py;h=9bb952457e149f3687efd0ca925aed8d69996366;hb=0c3e5f4921760f0d5c743c47a1205f734b67fcb7;hp=f9898082a3807a31c9e89b209d55156f324b5012;hpb=266fbd6b7389887960f74f5e989ba24109665eb6;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: