Skip to content

Commit

Permalink
statuspage: Update for Requests > 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spladug committed Nov 23, 2015
1 parent 52e3da4 commit d7f50f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statuspage.py
Expand Up @@ -42,7 +42,7 @@ def query(self, queries, from_time, until_time):
response.raise_for_status()

result = {}
for target_data in response.json:
for target_data in response.json():
result[target_data["target"]] = target_data["datapoints"]
return result

Expand Down

0 comments on commit d7f50f9

Please sign in to comment.