Skip to content

Commit

Permalink
tools: fix assetmgr on python <= 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Nov 13, 2024
1 parent 1d7c381 commit 5d9fe03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/assetmgr/assetmgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def writefile(filename, contents):
# 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
Expand Down

0 comments on commit 5d9fe03

Please sign in to comment.