From 772f786179084ab95d1590d48ac24c485c42e9a6 Mon Sep 17 00:00:00 2001 From: raphael60650 Date: Wed, 16 Jun 2021 16:32:59 +0200 Subject: [PATCH] get_nodir instead of get_dir to change id --- 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 1e0a0eb..1863661 100644 --- a/source/install_mod.py +++ b/source/install_mod.py @@ -118,7 +118,7 @@ def install_mod(self): shutil.rmtree(self.path_mkwf) self.Progress(statut=self.translate("Changement de l'ID du jeu"), add=1) - subprocess.run(["./tools/wit/wit", "EDIT", get_dir(self.path_mkwf_format), "--id", "RMCP60"], # see to maybe change ID to MKWF + subprocess.run(["./tools/wit/wit", "EDIT", get_nodir(self.path_mkwf_format), "--id", "RMCP60"], # see to maybe change ID to MKWF creationflags=CREATE_NO_WINDOW, cwd=get_dir(self.path_mkwf_format), check=True, stdout=subprocess.PIPE)