From 1c33fea5bb89a3a62d2345606df19d14d667f714 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 18 Oct 2011 22:30:32 +0200 Subject: [PATCH] part bug --- pandora/archive/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 37552ee9..f6199e8e 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -295,7 +295,7 @@ class File(models.Model): qs = self.item.files.filter(Q(is_video=True)|Q(is_audio=True), selected=True, path__startswith=name) if qs.count()>0: - return qs[0].part + return qs[0].get_part() if self.selected: files = list(self.item.files.filter(type=self.type, language=self.language, selected=self.selected).order_by('sort_path'))