network: The recieve buffer should be a bytestring
This commit is contained in:
parent
eab399357f
commit
6aa1ee7f5c
@ -317,7 +317,7 @@ class LineProtocol(pykka.ThreadingActor):
|
||||
super(LineProtocol, self).__init__()
|
||||
self.connection = connection
|
||||
self.prevent_timeout = False
|
||||
self.recv_buffer = ''
|
||||
self.recv_buffer = b''
|
||||
|
||||
if self.delimiter:
|
||||
self.delimiter = re.compile(self.delimiter)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user