aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-11-25 06:06:18 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-11-25 06:06:18 +0100
commitde79c46c8fa86dd3cb2383fd46cdd19a48e2f81f (patch)
tree7cd2f0e8100ba7fa68414df4764447a789b5685a /youtube_dl/utils.py
parent94ccb6fa2e3ec014bb995d05bfe634cf986d6198 (diff)
[viki] Fix subtitle extraction
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index caec00e37..946e90e93 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -553,7 +553,7 @@ def make_HTTPS_handler(opts_no_check_certificate):
self._tunnel()
try:
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, ssl_version=ssl.PROTOCOL_SSLv3)
- except ssl.SSLError as e:
+ except ssl.SSLError:
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, ssl_version=ssl.PROTOCOL_SSLv23)
class HTTPSHandlerV3(compat_urllib_request.HTTPSHandler):