From 64f58f4496edb52c4b0374bfb3a7ca45a370f395 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 15 Jul 2013 13:47:30 +0000 Subject: [PATCH] fix getEdit --- pandora/edit/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora/edit/models.py b/pandora/edit/models.py index 324cb017..7d51aedd 100644 --- a/pandora/edit/models.py +++ b/pandora/edit/models.py @@ -7,6 +7,7 @@ import os import shutil from glob import glob import subprocess +from urllib import quote import ox from django.conf import settings @@ -338,7 +339,8 @@ class Clip(models.Model): 'index': self.index } if self.annotation: - data['item'], data['annotation'] = self.annotation.public_id + data['annotation'] = self.annotation.public_id + data['item'] = self.item.itemId data['in'] = self.annotation.start data['out'] = self.annotation.end data['parts'] = self.annotation.item.json['parts']