From a0db8b77ad6b32ac053cb0560b1c377cc6909ff1 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 31 Dec 2010 17:33:41 +0530 Subject: [PATCH] type moved to Layer --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 312c7a3f..1f8cad83 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -498,7 +498,7 @@ class Item(models.Model): #FIXME: #f.dialog = 'fixme' - save('dialog', '\n'.join([l.value for l in Annotation.objects.filter(type='subtitle', item=self).order_by('start')])) + save('dialog', '\n'.join([l.value for l in Annotation.objects.filter(layer__type='subtitle', item=self).order_by('start')])) #FIXME: collate filenames #f.filename = self.filename