From: Yen Chi Hsuan Date: Tue, 7 Mar 2017 07:34:06 +0000 (+0800) Subject: [twitch] PEP8 X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=fe646a2f106fef0651158c460dd766c236e2f5db;p=youtube-dl.git [twitch] PEP8 --- diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index ed36336bd..2daf9dfac 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -104,7 +104,7 @@ class TwitchBaseIE(InfoExtractor): login_page, handle, 'Logging in as %s' % username, { 'username': username, 'password': password, - }) + }) if re.search(r'(?i)]+id="two-factor-submit"', redirect_page) is not None: # TODO: Add mechanism to request an SMS or phone call