Deleted some prints

This commit is contained in:
benarc 2021-02-26 18:52:45 +00:00
parent 3bfca5b7b7
commit 97e519d569

View File

@ -24,9 +24,7 @@ async def display(link_id):
@withdraw_ext.route("/img/<link_id>")
async def img(link_id):
link = await get_withdraw_link(link_id, 0) or abort(HTTPStatus.NOT_FOUND, "Withdraw link does not exist.")
print(link)
qr = pyqrcode.create(link.lnurl)
print(qr)
stream = BytesIO()
qr.svg(stream, scale=3)
return stream.getvalue(), 200, {