Fixes a bug in Kwapi pollster

Change-Id: If9403f34059330aca78fb60a0bfcb7af38fb5108
This commit is contained in:
François Rossigneux 2013-09-04 15:46:39 +02:00
parent 54465d8e7e
commit de36f88c6d

View File

@ -43,7 +43,7 @@ class KwapiClient(object):
if self.token is not None:
headers = {'X-Auth-Token': self.token}
request = requests.get(probes_url, headers=headers)
message = request.json
message = request.json()
probes = message['probes']
for key, value in probes.iteritems():
probe_dict = value