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

This commit is contained in:
Torma Kristóf 2021-04-29 17:06:25 +02:00
parent 152177473d
commit fd4434f504
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -53,7 +53,7 @@ class Executor:
return self.currentDirectory return self.currentDirectory
def listCurrentDirectoryContent(self) -> str: def listCurrentDirectoryContent(self) -> str:
contents = os.listdir(self.currentDirectory) contents = os.listdir(os.path.join(self.baseDir, self.currentDirectory))
strdirectory = "" strdirectory = ""
for content in contents: for content in contents:
strdirectory += content + ", " strdirectory += content + ", "