diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-13 22:01:46 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-13 22:01:46 +0100 |
commit | b33c3e948b72f71176cd57afd2085835bab64ff7 (patch) | |
tree | ac08889ff6221afb23171dd5654b340799f84d4f /tools/map.py | |
parent | 908dac2677fc404dd198fe18f10f13c0a21cf86c (diff) | |
download | gold-mine-run-b33c3e948b72f71176cd57afd2085835bab64ff7.tar.gz gold-mine-run-b33c3e948b72f71176cd57afd2085835bab64ff7.zip |
Use removesuffix
Diffstat (limited to 'tools/map.py')
-rwxr-xr-x | tools/map.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/map.py b/tools/map.py index 034a4b5..825f307 100755 --- a/tools/map.py +++ b/tools/map.py @@ -104,7 +104,7 @@ def main(): # end of entity list out.append(0xFF) - tmp = args.output.rstrip(".o") + tmp = args.output.removesuffix(".o") with open(tmp, "wb") as fd: fd.write(bytearray(out)) fd.flush() |