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)