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

This commit is contained in:
Torma Kristóf 2021-04-29 17:52:54 +02:00
parent 0e3ba17a8e
commit 841c5d4c20
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -84,7 +84,7 @@ class Executor:
def removeFileInCurrentDirectory(self, file: str) -> str: def removeFileInCurrentDirectory(self, file: str) -> str:
file = self.sanitizeFile(file) file = self.sanitizeFile(file)
currentfile = os.path.join(self.currentDirectory, file) currentfile = os.path.join(self.baseDir, self.currentDirectory, file)
if os.path.exists(currentfile): if os.path.exists(currentfile):
os.remove(currentfile) os.remove(currentfile)
return currentfile return currentfile