forked from 0x2620/pandora
filter
This commit is contained in:
parent
72c0a30d51
commit
41cf9ec744
1 changed files with 1 additions and 1 deletions
|
@ -944,7 +944,7 @@ class Item(models.Model):
|
|||
def poster_frames(self):
|
||||
frames = []
|
||||
offset = 0
|
||||
for f in self.files(active=True, is_video=True):
|
||||
for f in self.files.filter(active=True, is_video=True):
|
||||
for ff in f.frames.all():
|
||||
frames.append({
|
||||
'position': offset + ff.position,
|
||||
|
|
Loading…
Reference in a new issue