From 90651159275e3c5f7d578654953fb5bebe794737 Mon Sep 17 00:00:00 2001 From: Andrey Gumirov Date: Tue, 3 May 2022 11:18:05 +0700 Subject: [PATCH] Fixed bug in image gen --- nft_svc/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nft_svc/app.py b/nft_svc/app.py index 0c10697..3bf8c9a 100644 --- a/nft_svc/app.py +++ b/nft_svc/app.py @@ -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 })