Skip to content

Commit

Permalink
The worker methods are already return result as string, so no need to…
Browse files Browse the repository at this point in the history
… convert it
  • Loading branch information
dnaeon committed Jan 8, 2014
1 parent 9977944 commit a57fe9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vpoller/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def run(self, config_file):
result = self.process_client_message(msg)
self.worker_socket.send(_id, zmq.SNDMORE)
self.worker_socket.send("", zmq.SNDMORE)
self.worker_socket.send(str(result))
self.worker_socket.send(result)

# Management socket
if socks.get(self.mgmt_socket) == zmq.POLLIN:
Expand Down

0 comments on commit a57fe9e

Please sign in to comment.