summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2019-12-08 20:43:09 -0500
committerLouis Vézina <[email protected]>2019-12-08 20:43:09 -0500
commit0df9b70558ae8ec46577e030e65dd96e9013bcb0 (patch)
tree5817223d23b679c9133135d260a4f8eb3e7f3c11 /bazarr.py
parent67deea3099b2e4cec7c465ed7a825c6dd3e80d4d (diff)
downloadbazarr-0df9b70558ae8ec46577e030e65dd96e9013bcb0.tar.gz
bazarr-0df9b70558ae8ec46577e030e65dd96e9013bcb0.zip
Fix for stdout/stderr logging under Python 3.x.
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bazarr.py b/bazarr.py
index d55ff0150..83fa66ce5 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -51,6 +51,7 @@ def start_bazarr():
break
if PY3:
sys.stdout.buffer.write(line)
+ sys.stdout.flush()
else:
sys.stdout.write(line)
except KeyboardInterrupt: