summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyagl/services/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyagl/services/base.py b/pyagl/services/base.py
index a7dd7aa..d25f222 100644
--- a/pyagl/services/base.py
+++ b/pyagl/services/base.py
@@ -88,6 +88,7 @@ class AFBResponse:
self.msgid = int(data[1])
self.status = data[2]['request'].get('status')
self.info = data[2]['request'].get('info')
+ self.data = data[2].get('response')
elif self.type == AFBT.EVENT:
self.api = data[1]
@@ -99,7 +100,6 @@ class AFBResponse:
self.status = data[2]['request'].get('status')
self.info = data[2]['request'].get('info')
- self.data = data[2].get('response')
def __str__(self): # for debugging purposes
if self.type == AFBT.EVENT: