mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 11:18:26 +02:00
match type operation where not copied to the correct path
This commit is contained in:
parent
32dcefefc9
commit
d509567848
1 changed files with 2 additions and 2 deletions
|
@ -403,8 +403,8 @@ class PatchFile(PatchObject):
|
|||
# patch the game with the subpatch
|
||||
print(f"[match] copying {self} to {game_subfile}")
|
||||
|
||||
game_subpath.parent.mkdir(parents=True, exist_ok=True)
|
||||
with open(game_subfile.parent / patch_name, "wb") as file:
|
||||
game_subfile.parent.mkdir(parents=True, exist_ok=True)
|
||||
with open(game_subfile, "wb") as file:
|
||||
file.write(patch_content.read())
|
||||
|
||||
# else raise an error
|
||||
|
|
Loading…
Reference in a new issue