aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2019-12-14 09:30:58 -0500
committerLouis Vézina <[email protected]>2019-12-14 09:30:58 -0500
commite4b6020f63d8a7f6077df2bd64e64c2793bf3d19 (patch)
treeadb2384b8b6f2cc7774119350fe0a87c4e4d52cc /bazarr.py
parent55bf67950f59c6b5647dfc24602e96c6afa04b7c (diff)
downloadbazarr-e4b6020f63d8a7f6077df2bd64e64c2793bf3d19.tar.gz
bazarr-e4b6020f63d8a7f6077df2bd64e64c2793bf3d19.zip
Added stdout flush even for Python 2.x.
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr.py b/bazarr.py
index 83fa66ce5..ae5d88f13 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -51,9 +51,9 @@ def start_bazarr():
break
if PY3:
sys.stdout.buffer.write(line)
- sys.stdout.flush()
else:
sys.stdout.write(line)
+ sys.stdout.flush()
except KeyboardInterrupt:
pass