Open log as binary file for writing

Child output is binary.
This commit is contained in:
ZyX 2015-02-21 16:11:04 +03:00
parent d5361337c1
commit 0710f2760f

View File

@ -98,7 +98,7 @@ def main():
child.wait()
with open(full_log_file_name, 'w') as LF:
with open(full_log_file_name, 'wb') as LF:
LF.write(child.read())
check_call([