Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning an function instead of the json-string (make_query) #3

Closed
Beastcraft opened this issue Jan 25, 2013 · 2 comments
Closed

Returning an function instead of the json-string (make_query) #3

Beastcraft opened this issue Jan 25, 2013 · 2 comments

Comments

@Beastcraft
Copy link

While trying to get an event via c.event("foobar"), it always returns an bound method. (Probably something changed in the newer versions of Request)

cube.py, Line 49:
Change 'return r.json' to 'r.json()' and it works like a charm

p.s. same with returning the types (cube.py, Line 69)

@tsileo
Copy link
Owner

tsileo commented Oct 2, 2013

Fixed.

Thanks!

@tsileo tsileo closed this as completed Oct 2, 2013
@Beastcraft
Copy link
Author

Nice, thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants