From fe26bd1727bc51c270a90e31364c50ad2aa0ffde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 29 Apr 2021 17:38:28 +0200 Subject: [PATCH] asd --- server/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/executor.py b/server/executor.py index 26245db..3543157 100644 --- a/server/executor.py +++ b/server/executor.py @@ -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,'')