From 77ff1c3cec8ab56cdaf642ad43020fd7b777b80e Mon Sep 17 00:00:00 2001 From: raphael60650 Date: Wed, 16 Jun 2021 08:38:04 +0200 Subject: [PATCH] an error occured because of get_nodir and get_dir and /PATH/ --- source/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/__init__.py b/source/__init__.py index 37e0219..49cdefe 100644 --- a/source/__init__.py +++ b/source/__init__.py @@ -77,8 +77,8 @@ def __init__(self): 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) + if os.path.exists(self.path_mkwf + "/DATA"): self.path_mkwf += "/DATA" + print(self.path_mkwf, get_nodir(self.path_mkwf), get_dir(self.path_mkwf)) self.Progress(show=False)