mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Write to buffer
This commit is contained in:
parent
55214540fd
commit
379d1ddfd4
@ -58,7 +58,7 @@ def get_stdout(process):
|
||||
raw = process.stdout.read(1)
|
||||
if raw:
|
||||
try:
|
||||
sys.stdout.write(raw)
|
||||
sys.stdout.buffer.write(raw)
|
||||
except EnvironmentError:
|
||||
pass
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user