mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-25 07:15:56 +08:00
Fix for stdout/stderr logging under Python 3.x.
This commit is contained in:
parent
67deea3099
commit
0df9b70558
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue