remove print debugs

This commit is contained in:
Sanjay B 2021-10-23 15:46:42 +05:30
parent 4d1f6dc1aa
commit 2954e9e83d

View file

@ -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):