remove comment
This commit is contained in:
parent
21abfbfd98
commit
b520913c47
@ -24,7 +24,6 @@ def handle(req):
|
|||||||
byte_arr = BytesIO()
|
byte_arr = BytesIO()
|
||||||
c.image.save(byte_arr, format="JPEG")
|
c.image.save(byte_arr, format="JPEG")
|
||||||
|
|
||||||
# return Response(chart.render(is_unicode=True), mimetype="image/svg+xml")
|
|
||||||
return (
|
return (
|
||||||
f'<img src="data:image/jpeg;base64, {base64.b64encode(byte_arr.getvalue()).decode("utf-8")}">',
|
f'<img src="data:image/jpeg;base64, {base64.b64encode(byte_arr.getvalue()).decode("utf-8")}">',
|
||||||
200,
|
200,
|
||||||
|
Loading…
Reference in New Issue
Block a user