From 55f9f8b82bfcaf53008cc5bf5e7c9add271ff5cc Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 18 Nov 2014 18:21:41 +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 9eabd28a..7c8cc5aa 100644 --- a/pandora/annotation/tasks.py +++ b/pandora/annotation/tasks.py @@ -100,7 +100,7 @@ def update_item(id): #cleanup orphaned clips Clip.objects.filter(item__id=a.item.id, annotations__id=None).delete() #update facets if needed - with transaction.commit_on_sucess(): + with transaction.commit_on_success(): if filter(lambda f: f['id'] == a.layer and f.get('filter'), settings.CONFIG['itemKeys']): a.item.update_layer_facet(a.layer) Item.objects.filter(id=a.item.id).update(modified=a.modified)