1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[twitch] PEP8

This commit is contained in:
Yen Chi Hsuan 2017-03-07 15:34:06 +08:00
parent 9df53ea36e
commit fe646a2f10
No known key found for this signature in database
GPG Key ID: 7F902A182457CA23

View File

@ -104,7 +104,7 @@ def login_step(page, urlh, note, data):
login_page, handle, 'Logging in as %s' % username, {
'username': username,
'password': password,
})
})
if re.search(r'(?i)<form[^>]+id="two-factor-submit"', redirect_page) is not None:
# TODO: Add mechanism to request an SMS or phone call