From fd4434f5043d2caa4d8a6bba6a5e1f1d516d8c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 29 Apr 2021 17:06:25 +0200 Subject: [PATCH] listdir --- server/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/executor.py b/server/executor.py index b4cf3a6..bf7302d 100644 --- a/server/executor.py +++ b/server/executor.py @@ -53,7 +53,7 @@ class Executor: return self.currentDirectory def listCurrentDirectoryContent(self) -> str: - contents = os.listdir(self.currentDirectory) + contents = os.listdir(os.path.join(self.baseDir, self.currentDirectory)) strdirectory = "" for content in contents: strdirectory += content + ", "