X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fupdate.py;h=d8be4049f5dce0fdd9a61f2aff3c4284d494e598;hb=be4a824d74add1a3b78b8244dff12f4f078f168a;hp=3f9c5249dbc1b3e2d078db5254b4899b167965eb;hpb=6ce08764a1faba3eeecbd2a04643f3266c8c5111;p=youtube-dl diff --git a/youtube_dl/update.py b/youtube_dl/update.py index 3f9c5249d..d8be4049f 100644 --- a/youtube_dl/update.py +++ b/youtube_dl/update.py @@ -59,7 +59,7 @@ def update_self(to_screen, verbose): to_screen('It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.') return - https_handler = make_HTTPS_handler(False) + https_handler = make_HTTPS_handler({}) opener = compat_urllib_request.build_opener(https_handler) # Check if there is a new version