mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-04 11:48:22 +02:00
forgot a flag to subprocess.call
This commit is contained in:
parent
da42aab118
commit
0a66349801
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def patch_bmg(self, gamefile): # gamefile est le fichier .szs trouvé dans le /
|
||||||
def finalise(common_file, bmgtext):
|
def finalise(common_file, bmgtext):
|
||||||
for console in trackname_color: bmgtext = bmgtext.replace(console, trackname_color[console])
|
for console in trackname_color: bmgtext = bmgtext.replace(console, trackname_color[console])
|
||||||
with open(common_file, "w", encoding="utf-8") as f: f.write(bmgtext)
|
with open(common_file, "w", encoding="utf-8") as f: f.write(bmgtext)
|
||||||
subprocess.call(["./tools/szs/wbmgt", "ENCODE", common_file, "--overwrite"])
|
subprocess.call(["./tools/szs/wbmgt", "ENCODE", common_file, "--overwrite"], creationflags=CREATE_NO_WINDOW)
|
||||||
os.remove(common_file)
|
os.remove(common_file)
|
||||||
|
|
||||||
finalise(f"./file/Common_{bmglang}.txt", bmgtext)
|
finalise(f"./file/Common_{bmglang}.txt", bmgtext)
|
||||||
|
|
Loading…
Reference in a new issue