diff --git a/app/text/models.py b/app/text/models.py index 9849047..5ea4e8d 100644 --- a/app/text/models.py +++ b/app/text/models.py @@ -93,7 +93,7 @@ class Text(models.Model): return self.get_clips(api, annotations) def get_clips(self, api, annotations): - item_ids = {annot['id'].split('/')[0] for annot in annotations} + item_ids = list({annot['id'].split('/')[0] for annot in annotations}) query = { 'itemsQuery': { 'conditions': [{