Permalink
Browse files

json is a method in recent version of requests .

  • Loading branch information...
1 parent 1393f4f commit c5699df36dbd5fd1e9d92da879dbd2802b3b1184 @ftao ftao committed Mar 10, 2013
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 c5699df

Please sign in to comment.