From be89c2736c4ce7b4b9b728ffb81199218d80f328 Mon Sep 17 00:00:00 2001 From: Vignesh Rao Date: Sun, 3 Mar 2024 17:07:01 -0600 Subject: [PATCH] Move unwanted print statement to `input` --- pyrh/models/sessionmanager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyrh/models/sessionmanager.py b/pyrh/models/sessionmanager.py index 1096871..7a1c465 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,