Commit 6526ff77 authored by Luke Macken's avatar Luke Macken

Fix an edge case with unreliable connections

parent 1b4ecf6f
......@@ -160,7 +160,7 @@ class PyrasiteIPC(object):
if len(data) == msg_len:
return data
else:
return self.sock.recv(4096)
return self.sock.recv(4096).decode('utf-8')
def recv_bytes(self, n):
"""Receive n bytes from a socket"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment