diff --git a/src/vpoller/client.py b/src/vpoller/client.py index 7a787f1..3af88d2 100644 --- a/src/vpoller/client.py +++ b/src/vpoller/client.py @@ -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)