🐛 修复调用的模板渲染时参数不存在的问题

This commit is contained in:
洛水居室 2022-09-02 23:48:26 +08:00
parent 14299b998a
commit 55cd8c530d
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -139,8 +139,7 @@ class Ledger(BasePlugins):
} }
png_data = await self.template_service.render('genshin/ledger', "ledger.html", ledger_data, png_data = await self.template_service.render('genshin/ledger', "ledger.html", ledger_data,
{"width": 580, "height": 610}, {"width": 580, "height": 610},
evaluate=evaluate, evaluate=evaluate)
auto_escape=False)
return png_data return png_data
@error_callable @error_callable