use full annotation id

This commit is contained in:
j 2013-07-15 12:13:39 +00:00
parent 46da738b26
commit 3b7f55df58

View file

@ -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']