From d19fbdb8c3ac1796503626e3f6b17e88b41cebee Mon Sep 17 00:00:00 2001 From: raphael60650 Date: Wed, 16 Jun 2021 16:31:09 +0200 Subject: [PATCH] WIT console wasn't invisible --- source/install_mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/install_mod.py b/source/install_mod.py index bca954b..2397b8f 100644 --- a/source/install_mod.py +++ b/source/install_mod.py @@ -113,7 +113,7 @@ def install_mod(self): self.path_mkwf_format = os.path.realpath(self.path_mkwf + "/../MKWFaraphel." + outputformat.lower()) subprocess.run(["./tools/wit/wit", "COPY", get_nodir(self.path_mkwf), "--DEST", get_nodir(self.path_mkwf_format), f"--{outputformat.lower()}", "--overwrite"], - CREATE_NO_WINDOW, cwd=get_dir(self.path_mkwf), + creationflag=CREATE_NO_WINDOW, cwd=get_dir(self.path_mkwf), check=True, stdout=subprocess.PIPE) shutil.rmtree(self.path_mkwf)