mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-22 13:53:11 +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
|
||||
if PY3:
|
||||
sys.stdout.buffer.write(line)
|
||||
sys.stdout.flush()
|
||||
else:
|
||||
sys.stdout.write(line)
|
||||
sys.stdout.flush()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue