tools: fix assetmgr on python <= 3.8

This commit is contained in:
fgsfds committed 2024-11-13 08:55:04 +01:00
1 parent 1d7c381ce2
commit 5d9fe034ea
1 file changed
+1 -1
+1 -1
View File
@@ -160,7 +160,7 @@ if 'ROMID' not in os.environ:
# check if it's in args
for arg in sys.argv:
if arg.startswith('--romid='):
os.environ['ROMID'] = arg.removeprefix('--romid=')
os.environ['ROMID'] = arg[len('--romid='):]
break
else:
# default to ntsc-final