From 080ef4bff9e09bec308a19eb683e2bd4fb3c634f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 31 Mar 2011 05:03:18 -0400 Subject: [PATCH] requests fix --- gistapi/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gistapi/core.py b/gistapi/core.py index 3e926ce..9d5308a 100644 --- a/gistapi/core.py +++ b/gistapi/core.py @@ -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):