fix the gui command line argument when they were no cmd args

This commit is contained in:
xgui4
2026-05-18 13:19:40 -04:00
parent b5f5afd5cc
commit 179d02f8c1

View File

@@ -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")