From 66e22c587c05538cde10c0aed2658414bb6a1379 Mon Sep 17 00:00:00 2001 From: Daniel Bolta <43799286+dbolta@users.noreply.github.com> Date: Thu, 4 Oct 2018 20:55:46 -0500 Subject: [PATCH] remove raw_input call Trying this, doesn't seem like the raw_input call is needed(?) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36f1d03..7129985 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ pc.two_factor_challenge(mode) Then you need to finish the two factor challenge by verifying the code and continue the login process. ```python -pc.two_factor_authenticate(mode, raw_input('code')) +pc.two_factor_authenticate(mode, 'code') pc.authenticate_password(password) ``` @@ -78,7 +78,7 @@ try: pc.login(email, password) except RequireTwoFactorException: pc.two_factor_challenge(TwoFactorVerificationModeEnum.SMS) - pc.two_factor_authenticate(TwoFactorVerificationModeEnum.SMS, raw_input('code: ')) + pc.two_factor_authenticate(TwoFactorVerificationModeEnum.SMS, 'verification code') pc.authenticate_password(password) accounts_response = pc.fetch('/newaccount/getAccounts')