From 916bd3d393a0bfa7ee78f1476fb6fd782a56f621 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 1 Feb 2012 23:05:28 +0000 Subject: [PATCH] typo --- pandora/annotation/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/annotation/tasks.py b/pandora/annotation/tasks.py index 712027248..30a7c85b5 100644 --- a/pandora/annotation/tasks.py +++ b/pandora/annotation/tasks.py @@ -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')]