now
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2021-04-29 17:22:14 +02:00
parent 3bcb7e18ce
commit 7f1a5f1013
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -40,7 +40,7 @@ class Executor:
directories = self.currentDirectory.split(os.path.sep) directories = self.currentDirectory.split(os.path.sep)
strdirectory = "" strdirectory = ""
for dir in directories: for dir in directories:
strdirectory += dir + os.path.sep strdirectory = os.path.join(strdirectory, dir)
strdirectory = strdirectory[:-3] strdirectory = strdirectory[:-3]
if os.path.exists(os.path.join(self.baseDir, self.currentDirectory)): if os.path.exists(os.path.join(self.baseDir, self.currentDirectory)):
self.currentDirectory = strdirectory self.currentDirectory = strdirectory