Skip to content

Commit

Permalink
Fix vpoller-client after the recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Sep 12, 2014
1 parent 4ee9244 commit 95d04a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vpoller-client
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Examples:

data = client.run(msg)

print result
print data

if __name__ == '__main__':
main()
2 changes: 1 addition & 1 deletion src/vpoller/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def run(self, msg):
# Do we have a reply?
if socks.get(self.zclient) == zmq.POLLIN:
logging.debug('Received response on client socket')
result = self.zclient.recv()
result = self.zclient.recv_unicode()
logging.debug('Received message was: %s', result)
break
else:
Expand Down

0 comments on commit 95d04a3

Please sign in to comment.