diff --git a/app/text/models.py b/app/text/models.py index 4467645..16b08d3 100644 --- a/app/text/models.py +++ b/app/text/models.py @@ -69,14 +69,11 @@ class Text(models.Model): 'layers' ] } - print(api.get(**query)) layer = self.data.get('layer', None) or DEFAULT_LAYER annotations = api.get(**query)['data']['layers'][layer] - print('line 73', annotations) user = self.data.get('user', None) if user: annotations = list(filter(lambda annot: annot['user'] == user, annotations)) - print('line 77', annotations) return self.get_clips(api, annotations) def get_edit_annotations(self, api):