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