remove subtitles.sort from 0xdb config, duration should always be >=0
This commit is contained in:
parent
f3d20abe99
commit
fbe8c9160b
3 changed files with 2 additions and 6 deletions
|
|
@ -188,7 +188,7 @@ class Annotation(models.Model):
|
|||
'saturation': 'clip__saturation',
|
||||
'volume': 'clip__volume',
|
||||
}.get(key, key))
|
||||
j['duration'] = j['out'] - j['in']
|
||||
j['duration'] = abs(j['out'] - j['in'])
|
||||
if user:
|
||||
j['editable'] = self.editable(user)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue