mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 07:44:36 +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()
|
child.wait()
|
||||||
|
|
||||||
with open(full_log_file_name, 'w') as LF:
|
with open(full_log_file_name, 'wb') as LF:
|
||||||
LF.write(child.read())
|
LF.write(child.read())
|
||||||
|
|
||||||
check_call([
|
check_call([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user