Fixed bug in image gen
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andrey Gumirov
2022-05-03 11:18:05 +07:00
parent db629bb804
commit 9065115927

View File

@ -52,7 +52,7 @@ def get_image():
img_str = base64.b64encode(buffered.getvalue())
return jsonify({
"code": 0,
"image": str(img_str),
"image": str(img_str.decode('ascii')),
"first_time": 1
})