Add minor fix to OutputSplitter.write()

This commit is contained in:
Jonas Triki 2020-12-29 15:00:55 +01:00
parent 6490f5361d
commit 0458f0c1fd

View File

@ -169,6 +169,9 @@ class OutputSplitter():
def write(self, data):
self.reserve(len(data))
if self.compress:
self.file.write(data.encode())
else:
self.file.write(data)
def close(self):