This commit is contained in:
parent
152177473d
commit
fd4434f504
@ -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 + ", "
|
||||||
|
Loading…
Reference in New Issue
Block a user