typo
This commit is contained in:
parent
b065e804dd
commit
916bd3d393
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def update_matching_events(id):
|
|||
e.delete()
|
||||
if annotation.get_layer().get('type') == 'event' \
|
||||
and annotation.events.count() == 0:
|
||||
annotations.events.add(Event.get_or_create(annotation.value))
|
||||
annotation.events.add(Event.get_or_create(annotation.value))
|
||||
for e in annotation.events.all():
|
||||
e.update_matches()
|
||||
ids = [e['id'] for e in Event.objects.all().values('id')]
|
||||
|
|
Loading…
Reference in a new issue