Skip to content

Commit

Permalink
Return result ready to by json.dump'ed
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Mar 19, 2014
1 parent 9e58887 commit 68931e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vpoller/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def run(self, msg):
# Did we have any result reply at all?
if not result:
logging.error("Did not receive a reply from the server, aborting...")
return '{ "success": -1, "msg": "Did not receive reply from the server, aborting..." }'
return { "success": -1, "msg": "Did not receive reply from the server, aborting..." }

logging.debug('Received reply was: %s', result)

Expand Down

0 comments on commit 68931e9

Please sign in to comment.