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
|
'index': self.index
|
||||||
}
|
}
|
||||||
if self.annotation:
|
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['in'] = self.annotation.start
|
||||||
data['out'] = self.annotation.end
|
data['out'] = self.annotation.end
|
||||||
data['parts'] = self.annotation.item.json['parts']
|
data['parts'] = self.annotation.item.json['parts']
|
||||||
|
|
Loading…
Reference in a new issue