mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 12:02:16 +00:00
🐛 修复调用的模板渲染时参数不存在的问题
This commit is contained in:
parent
14299b998a
commit
55cd8c530d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user