diff --git a/pyrh/models/sessionmanager.py b/pyrh/models/sessionmanager.py index 1096871..4cd4b58 100644 --- a/pyrh/models/sessionmanager.py +++ b/pyrh/models/sessionmanager.py @@ -385,11 +385,10 @@ def _mfa_oauth2(self, oauth_payload: JSON, attempts: int = 3) -> OAuth: number of attempts. """ - print("Input mfa code:") if self.mfa != "": mfa_code = pyotp.TOTP(self.mfa).now() else: - mfa_code = input() + mfa_code = input("Input mfa code: ") oauth_payload["mfa_code"] = mfa_code oauth, res = self.post( urls.OAUTH,