Skip to content

Commit

Permalink
Convert the ZeroMQ reply to string before passing it on the wire
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Sep 3, 2013
1 parent 8e8650e commit 0364a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmpollerd/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def worker_thread(self, endpoint, context):
while not self.time_to_die:
msg = socket.recv_json()
result = self.process_worker_message(msg)
socket.send(result)
socket.send(str(result))

# Let's clean up a bit here
socket.close()
Expand Down

0 comments on commit 0364a49

Please sign in to comment.