forked from 0x2620/pandora
get poster frame
This commit is contained in:
parent
91610be8fc
commit
8d5f8d5156
1 changed files with 3 additions and 6 deletions
|
@ -1231,9 +1231,6 @@ class Item(models.Model):
|
||||||
else:
|
else:
|
||||||
size = settings.CONFIG['video']['resolutions'][0]
|
size = settings.CONFIG['video']['resolutions'][0]
|
||||||
path = self.frame(self.poster_frame, size)
|
path = self.frame(self.poster_frame, size)
|
||||||
else:
|
|
||||||
size = settings.CONFIG['video']['resolutions'][0]
|
|
||||||
path = self.frame(self.poster_frame, size)
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
def make_icon(self):
|
def make_icon(self):
|
||||||
|
|
Loading…
Reference in a new issue