an error occured because of get_nodir and get_dir and /PATH/

This commit is contained in:
raphael60650 2021-06-16 08:38:04 +02:00
parent 44187f5338
commit 77ff1c3cec

View file

@ -77,8 +77,8 @@ def __init__(self):
subprocess.call(["./tools/wit/wit", "EXTRACT", get_nodir(path), "--DEST", directory_name] subprocess.call(["./tools/wit/wit", "EXTRACT", get_nodir(path), "--DEST", directory_name]
, creationflags=CREATE_NO_WINDOW, cwd=get_dir(path)) , creationflags=CREATE_NO_WINDOW, cwd=get_dir(path))
if os.path.exists(self.path_mkwf + "/DATA/"): self.path_mkwf += "/DATA/" if os.path.exists(self.path_mkwf + "/DATA"): self.path_mkwf += "/DATA"
print(self.path_mkwf) print(self.path_mkwf, get_nodir(self.path_mkwf), get_dir(self.path_mkwf))
self.Progress(show=False) self.Progress(show=False)