mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-23 14:26:02 +08:00
Added stdout flush even for Python 2.x.
This commit is contained in:
parent
55bf67950f
commit
e4b6020f63
1 changed files with 1 additions and 1 deletions
|
@ -51,9 +51,9 @@ 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)
|
||||||
|
sys.stdout.flush()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue