use bytes
This commit is contained in:
parent
81ea634b3a
commit
dc43cc3056
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user