Show More
@@ -2433,5 +2433,5 b' class arbitraryfilectx(object):' | |||||
2433 |
|
2433 | |||
2434 | def write(self, data, flags, **kwargs): |
|
2434 | def write(self, data, flags, **kwargs): | |
2435 | assert not flags |
|
2435 | assert not flags | |
2436 | with open(self._path, "w") as f: |
|
2436 | with open(self._path, "wb") as f: | |
2437 | f.write(data) |
|
2437 | f.write(data) |
General Comments 0
You need to be logged in to leave comments.
Login now