diff --git a/server/executor.py b/server/executor.py index 9bbf60f..b28379d 100644 --- a/server/executor.py +++ b/server/executor.py @@ -64,7 +64,7 @@ class Executor: strdirectory = strdirectory[:-1] return strdirectory - def putFileInCurrentDirectory(self, filename: str, content) -> str: + def putFileInCurrentDirectory(self, filename: str, content: bytes) -> str: filename = self.sanitizeFile(filename) currenctfile = os.path.join(self.currentDirectory, filename) f = open(currenctfile, "wb")