def Login(user: User, password: str, captcha: str) -> None: '''perform device initialization and get token''' kobo = Kobo(user) kobo.AuthenticateDevice() kobo.LoadInitializationSettings() kobo.Login(user.Email, password, captcha)
def Login(user: User, password: str, captcha: str) -> None: kobo = Kobo(user) kobo.AuthenticateDevice() kobo.LoadInitializationSettings() kobo.Login(user.Email, password, captcha)