Minor corrections
This commit is contained in:
1 parent
e91d16169e
commit
65c2c9fb2c
2 files changed
+31
-3
No files matched your search
@@ -502,9 +502,9 @@ class Twitch:
|
||||
3022, # Email code needed
|
||||
):
|
||||
# 2FA handling
|
||||
logger.debug("2FA token required")
|
||||
email = error_code == 3022
|
||||
if not token:
|
||||
logger.debug("2FA token required")
|
||||
# user didn't provide a token, so ask them for it
|
||||
if email:
|
||||
self.gui.print("Email code required. Check your email.")
|
||||
|
||||
Reference in new issue
Block a user