From 179d02f8c1fe14878d59a24b93db751ac177af2e Mon Sep 17 00:00:00 2001 From: xgui4 <134389196+xgui4@users.noreply.github.com> Date: Mon, 18 May 2026 13:19:40 -0400 Subject: [PATCH] fix the gui command line argument when they were no cmd args --- src/lce_qt_launcher/views/cmd_arg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lce_qt_launcher/views/cmd_arg.py b/src/lce_qt_launcher/views/cmd_arg.py index 4e32587..548c955 100644 --- a/src/lce_qt_launcher/views/cmd_arg.py +++ b/src/lce_qt_launcher/views/cmd_arg.py @@ -49,7 +49,7 @@ def parse_args(argv: list[str]) -> CmdArgAction: Returns: CmdArgAction: _description_ The Action of the flags/cmd_args to launch/activated """ - if len(argv) > 0: + if len(argv) < 0: match argv[1]: case CmdArg.GEN_CONFIG_CMD_ARG | CmdArg.GEN_CONFIG_CMD_ARG_SHORT: print("config")