From 782432b741ca65ba17767c0564792145c1d0403f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 21 Jan 2011 16:22:06 +0530 Subject: [PATCH] if --- 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 55eab90d4..2d1fdb19e 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -736,7 +736,7 @@ class Item(models.Model): def local_posters(self): part = 1 posters = {} - self.poster_frame >= 0: + if self.poster_frame >= 0: frame = self.get_poster_frame_path() path = self.path('poster.pandora.%s.%s.jpg'%(part, self.poster_frame)) path = os.path.abspath(os.path.join(settings.MEDIA_ROOT, path))