From 41a7412283f9a5b432fd0dbaff0dc27ec099c93f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 26 Feb 2026 11:19:39 +0800 Subject: [PATCH] bugfix --- discount/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discount/init.py b/discount/init.py index dd7ba9a..b603d77 100644 --- a/discount/init.py +++ b/discount/init.py @@ -22,7 +22,7 @@ async def discount_qrcode(request, params_kw): fs = FileStorage() p = fs._name2path(f'{getID()}.png') config = getConfig() - gen_qr(url, p, logopath=config.logopath, logoloc='cc') + gen_qr_withlogo(url, p, logopath=config.logopath, logoloc='cc') webp = fs.webpath(p) async with get_sor_context(env, 'discount') as sor: biz_date = await env.get_business_date(sor)