fix annotation clips
This commit is contained in:
parent
d4e89db4c1
commit
cf6374e8a6
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ def index(request, fragment):
|
|||
clips = edit.get_clips(request.user)
|
||||
clip = clips.first()
|
||||
if clip:
|
||||
preview = '/%s/%sp%0.03f.jpg' % (clip.item.public_id, resolution, float(clip.start))
|
||||
start = clip.json()['in']
|
||||
preview = '/%s/%sp%0.03f.jpg' % (clip.item.public_id, resolution, float(start))
|
||||
context['preview'] = request.build_absolute_uri(preview)
|
||||
else:
|
||||
type = 'item'
|
||||
|
|
Loading…
Reference in a new issue