Permalink
Browse files

Merge pull request #5 from ftao/master

json is a method in recent version of requests .
  • Loading branch information...
tsileo committed Mar 10, 2013
2 parents 1393f4f + c5699df commit 725adb64fb70f5684ddc330d767f4ff849b8d7fc
Showing with 2 additions and 2 deletions.
  1. +2 −2 cube.py
View
@@ -46,7 +46,7 @@ def make_query(self, query_type, expression, **kwargs):
r = requests.get(self.evaluator_url + query_type, params=data)
r.raise_for_status()
return r.json
return r.json()
def event(self, expression, **kwargs):
"""
@@ -66,4 +66,4 @@ def types(self):
"""
r = requests.get(self.evaluator_url + "types")
r.raise_for_status()
return r.json
return r.json()

0 comments on commit 725adb6

Please sign in to comment.