bugfix
This commit is contained in:
parent
a563f92fd5
commit
41a7412283
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user