]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[dtube] PEP 8 (#17455)
authorSergey M․ <dstftw@gmail.com>
Sat, 8 Sep 2018 10:24:09 +0000 (17:24 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 8 Sep 2018 10:24:09 +0000 (17:24 +0700)
youtube_dl/extractor/dtube.py

index 4ca97f8606e8958d60483dc72a6de545cadf165f..5887887e15ef9065515abb1472e06511e55e32c9 100644 (file)
@@ -59,7 +59,7 @@ class DTubeIE(InfoExtractor):
             try:
                 self.to_screen('%s: Checking %s video format URL' % (video_id, format_id))
                 self._downloader._opener.open(video_url, timeout=5).close()
-            except timeout as e:
+            except timeout:
                 self.to_screen(
                     '%s: %s URL is invalid, skipping' % (video_id, format_id))
                 continue