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

This commit is contained in:
Torma Kristóf 2021-04-29 17:38:28 +02:00
parent 4466ee6172
commit fe26bd1727
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -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,'')