Commit 0c69fca2 authored by Nicolas Wavrant's avatar Nicolas Wavrant

equeue: socket can only manipulate binary types

parent 34e2cf13
......@@ -180,7 +180,7 @@ class EqueueServer(socketserver.ThreadingUnixStreamServer):
"was %r", request.fileno(), request_string.getvalue())
try:
request.send(command)
request.send(command.encode())
except Exception:
self.logger.warning("Couldn't respond to %r", request.fileno(), exc_info=True)
self.close_request(request)
......
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