From 109e51954cb7f0d68c3291f90d82a263b1eeab1c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 21 Feb 2011 13:12:50 -0500 Subject: [PATCH] new style api get call --- convore/groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convore/groups.py b/convore/groups.py index a188f87..bba7fbf 100644 --- a/convore/groups.py +++ b/convore/groups.py @@ -72,7 +72,7 @@ class GroupDiscoverCategory(SyncedList): pass def sync(self): - r = requests.get(API_URL + 'groups.json') + r = api.get('groups') # for _group in json.loads(r.content)['groups']: # # group = models.Group()