Commit 462723b6 by willmcgugan

fixed issue writing text files

parent c64ad448
......@@ -37,7 +37,7 @@ class _TempWriteFile(object):
def __init__(self, fs, filename, close_callback):
self.fs = fs
self.filename = filename
self._file = self.fs.open(filename, 'w+')
self._file = self.fs.open(filename, 'wb+')
self.close_callback = close_callback
def write(self, data):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment