From 0ac2524d3ef0529feef685ee62adbf50a7c14ea8 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 13 Oct 2023 09:21:08 +0200 Subject: [PATCH] v2.4.7 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/google/cmd.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pwnagotchi/google/cmd.py b/pwnagotchi/google/cmd.py index c436983a..4b06e469 100644 --- a/pwnagotchi/google/cmd.py +++ b/pwnagotchi/google/cmd.py @@ -86,14 +86,15 @@ def refresh(): except pydrive2.auth.RefreshError: print(gauth.GetAuthUrl()) user_input = input("Please copy this URL into a browser, " - "complete the verification and then copy/paste the code from addressbar.") + "complete the verification and then copy/paste the code from addressbar.\n\n" + "Code: ") gauth.Auth(user_input) else: print(gauth.GetAuthUrl()) user_input = input("Please copy this URL into a browser, " - "complete the verification and then copy/paste the code from addressbar.") + "complete the verification and then copy/paste the code from addressbar.\n\n" + "Code: ") gauth.Auth(user_input) gauth.Authorize() - gauth.SaveCredentialsFile("credentials.json") print("No refresh is required.") return 0