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:
|
||||
size = settings.CONFIG['video']['resolutions'][0]
|
||||
path = self.frame(self.poster_frame, size)
|
||||
else:
|
||||
size = settings.CONFIG['video']['resolutions'][0]
|
||||
path = self.frame(self.poster_frame, size)
|
||||
return path
|
||||
|
||||
def make_icon(self):
|
||||
|
|
Loading…
Reference in a new issue