Fix migration errors.
This commit is contained in:
parent
0654796a1a
commit
588997e312
|
@ -2,12 +2,12 @@ from edmc import companion as c
|
|||
import platform
|
||||
import easygui
|
||||
|
||||
companion_session = companion.Session()
|
||||
companion_session = c.Session()
|
||||
|
||||
def login(username, password):
|
||||
try:
|
||||
companion_session.login(username, password)
|
||||
except companion.VerificationRequired:
|
||||
except c.VerificationRequired:
|
||||
if platform.system() == 'Windows':
|
||||
code = easygui.enterbox("Input Verification Code (check your email)",
|
||||
"Verification Required")
|
||||
|
|
Reference in New Issue
Block a user