Unverified Commit 820245d1 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

use uri instead of locator key



Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent e80f58dc
Pipeline #16070 passed with stages
in 4 minutes and 56 seconds
......@@ -28,7 +28,7 @@ def _get_values_from_thumbnail_object(msg):
if '@id' in msg:
return_values['sig'] = '{}-poster'.format(msg['@id'].split('/')[-2])
if 'locator' in msg:
return_values['locator'] = 'file:///data/{}-poster.jp2'.format(msg['@id'].split('/')[-2])
return_values['uri'] = 'file:///data/{}-poster.jp2'.format(msg['@id'].split('/')[-2])
if 'height' in msg:
height = msg['height']
return_values['height'] = height
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment