missing imports and typos
This commit is contained in:
parent
e1a28c941a
commit
774450d263
12 changed files with 49 additions and 30 deletions
|
|
@ -1209,7 +1209,7 @@ class Item(models.Model):
|
|||
if not r:
|
||||
return False
|
||||
path = video.name
|
||||
duration = sum(item.cache['durations'])
|
||||
duration = sum(self.item.cache['durations'])
|
||||
else:
|
||||
path = stream.media.path
|
||||
duration = stream.info['duration']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue