Fixed bug in image gen
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -52,7 +52,7 @@ def get_image():
|
|||||||
img_str = base64.b64encode(buffered.getvalue())
|
img_str = base64.b64encode(buffered.getvalue())
|
||||||
return jsonify({
|
return jsonify({
|
||||||
"code": 0,
|
"code": 0,
|
||||||
"image": str(img_str),
|
"image": str(img_str.decode('ascii')),
|
||||||
"first_time": 1
|
"first_time": 1
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user