This commit is contained in:
parent
3bcb7e18ce
commit
7f1a5f1013
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user