return img
This commit is contained in:
parent
d913ab1306
commit
2d4e9202f1
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ async def img(link_id):
|
||||||
print(qr)
|
print(qr)
|
||||||
qrimage = qr.png('qrimage.png', scale=5)
|
qrimage = qr.png('qrimage.png', scale=5)
|
||||||
print(qrimage)
|
print(qrimage)
|
||||||
return '<img src=' + qrimage + '>'
|
return qrimage
|
||||||
|
|
||||||
@withdraw_ext.route("/print/<link_id>")
|
@withdraw_ext.route("/print/<link_id>")
|
||||||
async def print_qr(link_id):
|
async def print_qr(link_id):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue