Fixes a bug in Kwapi pollster
Change-Id: If9403f34059330aca78fb60a0bfcb7af38fb5108
This commit is contained in:
parent
54465d8e7e
commit
de36f88c6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user