restreamer: Make get_thumbnail_uploaded_template() work

pull/419/head
Mike Lang 1 month ago committed by Mike Lang
parent 751271d3c1
commit 867ec8411b

@ -520,7 +520,7 @@ def get_thumbnail_uploaded_template(channel, quality):
location: Required. Left, top, right, bottom pixel coordinates to position the cropped frame. location: Required. Left, top, right, bottom pixel coordinates to position the cropped frame.
Should be a comma-seperated list of numbers. Should be a comma-seperated list of numbers.
""" """
template = request.body template = request.data
return get_thumbnail(channel, quality, request.args['timestamp'], template, request.args['crop'], request.args['location']) return get_thumbnail(channel, quality, request.args['timestamp'], template, request.args['crop'], request.args['location'])

Loading…
Cancel
Save