forked from 0x2620/pandora
frame path
This commit is contained in:
parent
8d23d121e2
commit
40b3439a86
1 changed files with 1 additions and 1 deletions
|
@ -899,7 +899,7 @@ class Item(models.Model):
|
||||||
return self.frame(self.poster_frame, size)
|
return self.frame(self.poster_frame, size)
|
||||||
|
|
||||||
if frames:
|
if frames:
|
||||||
return frames[int(len(frames)/2)]
|
return frames[int(len(frames)/2)]['path']
|
||||||
|
|
||||||
def make_icon(self):
|
def make_icon(self):
|
||||||
frame = self.get_poster_frame_path()
|
frame = self.get_poster_frame_path()
|
||||||
|
|
Loading…
Reference in a new issue