mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
tools: fix assetmgr on python <= 3.8
This commit is contained in:
1 parent
1d7c381ce2
commit
5d9fe034ea
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user