From 85562a2f7c49ccd15f0240b41ab1ea1d833e537d Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Thu, 12 Oct 2023 20:14:35 +0200 Subject: [PATCH] v2.4.7 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/google/cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/google/cmd.py b/pwnagotchi/google/cmd.py index 040c7ad0..3c9d2741 100644 --- a/pwnagotchi/google/cmd.py +++ b/pwnagotchi/google/cmd.py @@ -56,7 +56,7 @@ def auth(args): gauth.SaveCredentialsFile("credentials.json") except Exception as e: logging.error(f"Error: {e}") - return + return 0 def refresh(args): @@ -90,4 +90,4 @@ def refresh(args): gauth.Authorize() gauth.SaveCredentialsFile("credentials.json") print("No refresh is required.") - return + return 0