Fix for stdout/stderr logging under Python 3.x.

pull/712/head
Louis Vézina 5 years ago
parent 67deea3099
commit 0df9b70558

@ -51,6 +51,7 @@ def start_bazarr():
break break
if PY3: if PY3:
sys.stdout.buffer.write(line) sys.stdout.buffer.write(line)
sys.stdout.flush()
else: else:
sys.stdout.write(line) sys.stdout.write(line)
except KeyboardInterrupt: except KeyboardInterrupt:

Loading…
Cancel
Save