💄 🐛 修复样式文件错误

This commit is contained in:
Chenric 2024-07-09 18:11:08 +08:00
parent e3d3b178a5
commit 2daabad6ed
2 changed files with 7 additions and 2 deletions

View File

@ -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}})

View File

@ -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"},