aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-09-08 17:24:09 +0700
committerSergey M․ <dstftw@gmail.com>2018-09-08 17:24:09 +0700
commit6f9f3340bb4c837d86067856e12232fc9695e698 (patch)
treeb7cd5daaaa9043410298827095aac6224b5ad01a
parentae2384ff5f9d6a18209139a4b2e2cd33921be63a (diff)
[dtube] PEP 8 (#17455)
-rw-r--r--youtube_dl/extractor/dtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dtube.py b/youtube_dl/extractor/dtube.py
index 4ca97f860..5887887e1 100644
--- a/youtube_dl/extractor/dtube.py
+++ b/youtube_dl/extractor/dtube.py
@@ -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