diff --git a/source/__init__.py b/source/__init__.py index 73b96eb..37e0219 100644 --- a/source/__init__.py +++ b/source/__init__.py @@ -73,11 +73,13 @@ def __init__(self): if not(os.path.exists(self.path_mkwf)): break directory_name, i = f"MKWiiFaraphel ({i})", i + 1 - if os.path.exists(self.path_mkwf + "/DATA/"): self.path_mkwf += "/DATA/" - self.Progress(show=True, indeter=True, statut=self.translate("Extraction du jeu...")) subprocess.call(["./tools/wit/wit", "EXTRACT", get_nodir(path), "--DEST", directory_name] , creationflags=CREATE_NO_WINDOW, cwd=get_dir(path)) + + if os.path.exists(self.path_mkwf + "/DATA/"): self.path_mkwf += "/DATA/" + print(self.path_mkwf) + self.Progress(show=False) else: