diff --git a/braine-l-alleud/00_passerelle_list_topics.py b/braine-l-alleud/00_passerelle_list_topics.py index 34c86fa..2e06648 100644 --- a/braine-l-alleud/00_passerelle_list_topics.py +++ b/braine-l-alleud/00_passerelle_list_topics.py @@ -34,7 +34,7 @@ settings = { for key, value in settings.items(): vocabulary_id = value.pop('vocabulary_id') con = PloneRestApi.objects.get(slug=key) - resp = con.request(uri='@vocabularies', uid=vocabulary_id, params = {'b_size': 100}) + resp = con.request(path='@vocabularies/%s' % vocabulary_id, params = {'b_size': 100}) value['field_values'] = resp['items'] with open('topics.json', 'w') as fd: