also apply fix to get_thumbnail

pull/456/merge
Christopher Usher 4 days ago committed by Mike Lang
parent 861a426395
commit add8d021a8

@ -765,7 +765,7 @@ def get_thumbnail(ident):
if event['thumbnail_mode'] != 'NONE' and event['thumbnail_image']:
logging.info('Thumbnail for event {} fetched'.format(ident))
return flask.Response(event['thumbnail_image'], mimetype='image/png')
return flask.Response(bytes(event['thumbnail_image']), mimetype='image/png')
else:
return '', 404

Loading…
Cancel
Save