requests fix

This commit is contained in:
Kenneth Reitz
2011-03-31 05:03:18 -04:00
parent 19ecde4946
commit 080ef4bff9
+1 -1
View File
@@ -222,7 +222,7 @@ class Gists(object):
# Return a list of Gist objects
return [Gist(json=g)
for g in json.load(requests.get(_url).content)['gists']]
for g in json.loads(requests.get(_url).content)['gists']]
class GistComment(object):