mirror of
https://github.com/powerline/powerline.git
synced 2025-07-26 23:35:04 +02:00
Open log as binary file for writing
Child output is binary.
This commit is contained in:
parent
d5361337c1
commit
0710f2760f
@ -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([
|
||||
|
Loading…
x
Reference in New Issue
Block a user