From 3b7f55df5898b793f44fec82d777e00bcc3c6725 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 15 Jul 2013 12:13:39 +0000 Subject: [PATCH] use full annotation id --- pandora/edit/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/edit/models.py b/pandora/edit/models.py index e194da9e..324cb017 100644 --- a/pandora/edit/models.py +++ b/pandora/edit/models.py @@ -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']