This commit is contained in:
parent
4466ee6172
commit
fe26bd1727
@ -38,7 +38,7 @@ class Executor:
|
||||
if dirName == "..":
|
||||
p = Path(os.path.join(self.baseDir, self.currentDirectory))
|
||||
parentpath = p.parent
|
||||
if str(parentpath) == self.baseDir:
|
||||
if (str(parentpath) + os.path.sep)== self.baseDir:
|
||||
return self.currentDirectory
|
||||
else:
|
||||
newpath = str(parentpath).replace(self.baseDir,'')
|
||||
|
Loading…
Reference in New Issue
Block a user