From fc4aa05963d6b76a3c67c24f0960168b985287ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20=C5=9Eahin?= Date: Fri, 1 Jul 2016 16:59:28 +0300 Subject: [PATCH] task response data convert to json --- opt/ahenk/base/messaging/Messaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opt/ahenk/base/messaging/Messaging.py b/opt/ahenk/base/messaging/Messaging.py index 57b988e..4e8ccc4 100644 --- a/opt/ahenk/base/messaging/Messaging.py +++ b/opt/ahenk/base/messaging/Messaging.py @@ -34,7 +34,7 @@ class Messaging(object): data['taskId'] = response.get_id() data['responseCode'] = response.get_code() data['responseMessage'] = response.get_message() - data['responseData'] = response.get_data() + data['responseData'] = json.loads(str(response.get_data())) data['contentType'] = response.get_content_type() data['timestamp'] = response.get_timestamp()