From 02a7352614db2a2eb420bfff8c1b4fc5f240fd45 Mon Sep 17 00:00:00 2001 From: codeking Date: Sat, 21 Sep 2024 00:22:36 +0200 Subject: [PATCH] Update the reference implementation --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 711c2e4..c9247e4 100644 --- a/main.py +++ b/main.py @@ -281,7 +281,7 @@ if __name__ == '__main__': if arguments.subcommand is None: application_parser.print_help() - if arguments.subcommand == 'list': + elif arguments.subcommand == 'list': if arguments.code: @@ -333,7 +333,7 @@ if __name__ == '__main__': if arguments.subcommand is None: get_parser.print_help() - if arguments.subcommand == 'connection': + elif arguments.subcommand == 'connection': print(ConfigurationController.get_connection()) elif arguments.command == 'set': @@ -341,5 +341,5 @@ if __name__ == '__main__': if arguments.subcommand is None: set_parser.print_help() - if arguments.subcommand == 'connection': + elif arguments.subcommand == 'connection': ConfigurationController.set_connection(arguments.connection_type)