mirror of
https://github.com/ChenXu233/nonebot_plugin_dialectlist.git
synced 2024-11-27 17:45:07 +08:00
💄 🐛 修复样式文件错误
This commit is contained in:
parent
e3d3b178a5
commit
2daabad6ed
@ -148,4 +148,9 @@ async def get_rank_image(rank: List[UserRankInfo]) -> bytes:
|
|||||||
|
|
||||||
path_dir, filename = os.path.split(path)
|
path_dir, filename = os.path.split(path)
|
||||||
logger.debug(os.path.dirname(os.path.abspath(__file__)) + plugin_config.template_path[1:])
|
logger.debug(os.path.dirname(os.path.abspath(__file__)) + plugin_config.template_path[1:])
|
||||||
return await template_to_pic(path_dir,filename,{'users': rank, 'cache_path': cache_path, 'file_path': os.path.dirname(os.path.abspath(__file__))})
|
return await template_to_pic(path_dir,
|
||||||
|
filename,
|
||||||
|
{'users': rank,
|
||||||
|
'cache_path': cache_path,
|
||||||
|
'file_path': os.path.dirname(os.path.abspath(__file__))},
|
||||||
|
pages={"viewport": {"width": 1366, "height": 10}})
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nonebot_plugin_dialectlist"
|
name = "nonebot_plugin_dialectlist"
|
||||||
version = "2.1.5"
|
version = "2.1.6"
|
||||||
description = "看看你群群友有多能说"
|
description = "看看你群群友有多能说"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Chen_Xu233", email = "woyerpa@outlook.com"},
|
{name = "Chen_Xu233", email = "woyerpa@outlook.com"},
|
||||||
|
Loading…
Reference in New Issue
Block a user