diff --git a/server/executor.py b/server/executor.py index 41ee405..985d0de 100644 --- a/server/executor.py +++ b/server/executor.py @@ -40,7 +40,7 @@ class Executor: directories = self.currentDirectory.split(os.path.sep) strdirectory = "" for dir in directories: - strdirectory += dir + os.path.sep + strdirectory = os.path.join(strdirectory, dir) strdirectory = strdirectory[:-3] if os.path.exists(os.path.join(self.baseDir, self.currentDirectory)): self.currentDirectory = strdirectory