mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-18 00:10:49 +00:00
fix the gui command line argument when they were no cmd args
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user