summaryrefslogtreecommitdiffstats
path: root/gamechestcli
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2026-03-27 00:03:19 +0100
committervg <vgm+dev@devys.org>2026-03-27 00:03:19 +0100
commitb1287ad2fa5a734dd56193d54ec07c66b0865f0c (patch)
treecf849f651d4de3bf6cf545b8d6697b49ff308d58 /gamechestcli
parent1218c29e54bb8560d6d2b3d010a94b14f0f17f45 (diff)
downloadgamechest-b1287ad2fa5a734dd56193d54ec07c66b0865f0c.tar.gz
gamechest-b1287ad2fa5a734dd56193d54ec07c66b0865f0c.tar.bz2
gamechest-b1287ad2fa5a734dd56193d54ec07c66b0865f0c.zip
fix args handling for run, now GAME_ID is a list
Diffstat (limited to 'gamechestcli')
-rwxr-xr-xgamechestcli/src/gamechest/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamechestcli/src/gamechest/__main__.py b/gamechestcli/src/gamechest/__main__.py
index b7f1efb..dcea550 100755
--- a/gamechestcli/src/gamechest/__main__.py
+++ b/gamechestcli/src/gamechest/__main__.py
@@ -63,7 +63,7 @@ def main():
profile_id = args['--profile_id'] or config.get_profile_id()
if not profile_id:
print('profile_id must be not null', file=sys.stderr)
- run.run(args['GAME_ID'], profile_id)
+ run.run(args['GAME_ID'][0], profile_id)
elif args['set']:
if args['--profile_id']:
config.set_profile_id(args['--profile_id'])