forked from 0x2620/pandora
fix getEdit
This commit is contained in:
parent
d62460e5fe
commit
64f58f4496
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@ import os
|
||||||
import shutil
|
import shutil
|
||||||
from glob import glob
|
from glob import glob
|
||||||
import subprocess
|
import subprocess
|
||||||
|
from urllib import quote
|
||||||
|
|
||||||
import ox
|
import ox
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
@ -338,7 +339,8 @@ class Clip(models.Model):
|
||||||
'index': self.index
|
'index': self.index
|
||||||
}
|
}
|
||||||
if self.annotation:
|
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['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