Compare commits
2 Commits
8957cd6a04
...
89e8bd1295
Author | SHA1 | Date | |
---|---|---|---|
89e8bd1295 | |||
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