mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-08-23 02:44:27 -05:00
Overwrite original AFP file instead of making a temporary copy.
This commit is contained in:
@@ -1721,7 +1721,7 @@ def main() -> int:
|
||||
afpfile.unparse()
|
||||
else:
|
||||
print(f"Writing {args.file}...")
|
||||
with open(args.file + ".tmp", "wb") as bfp:
|
||||
with open(args.file, "wb") as bfp:
|
||||
bfp.write(afpfile.unparse())
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user