forked from 0x2620/pandora
use full annotation id
This commit is contained in:
parent
46da738b26
commit
3b7f55df58
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ class Clip(models.Model):
|
|||
'index': self.index
|
||||
}
|
||||
if self.annotation:
|
||||
data['item'], data['annotation'] = self.annotation.public_id.split('/')
|
||||
data['item'], data['annotation'] = self.annotation.public_id
|
||||
data['in'] = self.annotation.start
|
||||
data['out'] = self.annotation.end
|
||||
data['parts'] = self.annotation.item.json['parts']
|
||||
|
|
Loading…
Reference in a new issue