mirror of https://github.com/davisking/dlib.git
Merge pull request #68 from yukoba/patch-1
sys.stdout.encoding instead of latin-1 in setup.py
This commit is contained in:
commit
e1ff23fdb5
2
setup.py
2
setup.py
|
@ -265,7 +265,7 @@ def enqueue_output(out, queue):
|
||||||
def _log_buf(buf):
|
def _log_buf(buf):
|
||||||
if not buf:
|
if not buf:
|
||||||
return
|
return
|
||||||
buf = buf.decode("latin-1")
|
buf = buf.decode(sys.stdout.encoding)
|
||||||
buf = buf.rstrip()
|
buf = buf.rstrip()
|
||||||
lines = buf.splitlines()
|
lines = buf.splitlines()
|
||||||
for line in lines:
|
for line in lines:
|
||||||
|
|
Loading…
Reference in New Issue