From 731932c9e324adbcfe838b56ac890316bb777ceb Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 13 Oct 2023 00:05:06 +0200 Subject: [PATCH] v2.4.7 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/google/cmd.py | 2 +- pwnagotchi/plugins/cmd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/google/cmd.py b/pwnagotchi/google/cmd.py index 47d76f03..8b9cccb4 100644 --- a/pwnagotchi/google/cmd.py +++ b/pwnagotchi/google/cmd.py @@ -18,7 +18,7 @@ def add_parsers(subparsers): parser_google_auth = google_subparsers.add_parser('auth', help='Google Authentication') parser_google_auth.add_argument('bool', type=bool, help="This will start the authentication process") - return parser + return subparsers def used_google_cmd(args): diff --git a/pwnagotchi/plugins/cmd.py b/pwnagotchi/plugins/cmd.py index 690dd85e..05a056aa 100644 --- a/pwnagotchi/plugins/cmd.py +++ b/pwnagotchi/plugins/cmd.py @@ -58,7 +58,7 @@ def add_parsers(subparsers): parser_plugins_edit = plugin_subparsers.add_parser('edit', help='Edit the options') parser_plugins_edit.add_argument('name', type=str, help='Name of the plugin') - return parser + return subparsers def used_plugin_cmd(args):