From ca9691bc4607c37d6e46a4c87656080bc03c21a7 Mon Sep 17 00:00:00 2001 From: p1131 Date: Fri, 5 Jun 2020 14:59:02 +0300 Subject: [PATCH] flake8 fixes --- youtube_dl/extractor/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index 801b6406d..a2a77b84e 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -589,7 +589,7 @@ class TwitchStreamIE(TwitchBaseIE): assert stream is not None # IndexError is there because the first JSON contains a list - except (IndexError, AssertionError) as e: + except (IndexError, AssertionError): raise ExtractorError('%s is offline' % channel_name, expected=True) # Channel name may be typed if different case than the original channel name