A feature-rich command-line audio/video downloader
[utils] make_HTTPS_handler: Remove try/except block that would always raise an exception
Jaime Marquínez Ferrándiz293f0f39ce95
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.pyindex 83a45e702a..ec34dcef93 100644--- a/youtube_dl/utils.py+++ b/youtube_dl/utils.py@@ -421,10 +421,6 @@ def make_HTTPS_handler(opts_no_check_certificate, **kwargs):if opts_no_check_certificateelse ssl.CERT_REQUIRED)context.set_default_verify_paths()- try:- context.load_default_certs()- except AttributeError:- pass # Python < 3.4return compat_urllib_request.HTTPSHandler(context=context, **kwargs)