if
This commit is contained in:
parent
67630fa9ed
commit
ae36baf8ae
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ class Item(models.Model):
|
||||||
def local_posters(self):
|
def local_posters(self):
|
||||||
part = 1
|
part = 1
|
||||||
posters = {}
|
posters = {}
|
||||||
self.poster_frame >= 0:
|
if self.poster_frame >= 0:
|
||||||
frame = self.get_poster_frame_path()
|
frame = self.get_poster_frame_path()
|
||||||
path = self.path('poster.pandora.%s.%s.jpg'%(part, self.poster_frame))
|
path = self.path('poster.pandora.%s.%s.jpg'%(part, self.poster_frame))
|
||||||
path = os.path.abspath(os.path.join(settings.MEDIA_ROOT, path))
|
path = os.path.abspath(os.path.join(settings.MEDIA_ROOT, path))
|
||||||
|
|
Loading…
Reference in a new issue