Fix UnicodeEncodeErrors in output of 'build', 'run' and 'up'
Squashed version of #125. Closes #112.
This commit is contained in:
parent
a3374ac51d
commit
710cd38591
3 changed files with 3 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ class SocketClient:
|
|||
chunk = socket.recv(4096)
|
||||
|
||||
if chunk:
|
||||
stream.write(chunk)
|
||||
stream.write(chunk.encode(stream.encoding or 'utf8'))
|
||||
stream.flush()
|
||||
else:
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue