Skip to content
Snippets Groups Projects
Commit 72e1e889 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[agent] Convert all unicode input to str before zmq sending

parent fd696f98
No related branches found
No related tags found
1 merge request!12Gevent
Pipeline #
......@@ -191,7 +191,7 @@ class Server(gevent.Greenlet):
self.socket.send(str(inputs_to_go), zmq.SNDMORE)
for inp in channel_group:
logger.debug('send: %s', inp.name)
self.socket.send(inp.name, zmq.SNDMORE)
self.socket.send(str(inp.name), zmq.SNDMORE)
if inp.data is None:
message = "User algorithm process asked for more data on channel " \
"`%s' (all inputs), but input `%s' has nothing. This " \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment