mirror of
https://github.com/kennethreitz-archive/python-convore.git
synced 2026-06-05 23:40:18 +00:00
new style api get call
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user