From 41c53584af725bcb823010c34c6b82601adfe4d8 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Thu, 12 Oct 2023 20:18:55 +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 3c9d2741..5f3f0914 100644 --- a/pwnagotchi/google/cmd.py +++ b/pwnagotchi/google/cmd.py @@ -16,7 +16,7 @@ def add_parsers(parser): # pwnagotchi plugins search parser_google_auth = google_subparsers.add_parser('auth', help='Google Authentication') - parser_google_auth.add_argument('true', type=str, help="This will start the authentication process") + parser_google_auth.add_argument('bool', type=bool, help="This will start the authentication process") return parser @@ -33,7 +33,7 @@ def handle_cmd(args): Parses the arguments and does the thing the user wants """ if args.plugincmd == 'auth': - return auth(args) + return auth(args.bool) elif args.plugincmd == 'refresh': return refresh(args) raise NotImplementedError()