Added stdout flush even for Python 2.x.

pull/712/head
Louis Vézina 5 years ago
parent 55bf67950f
commit e4b6020f63

@ -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

Loading…
Cancel
Save