diff --git a/nonebot_plugin_dialectlist/utils.py b/nonebot_plugin_dialectlist/utils.py index af9775d..070f110 100644 --- a/nonebot_plugin_dialectlist/utils.py +++ b/nonebot_plugin_dialectlist/utils.py @@ -148,4 +148,9 @@ async def get_rank_image(rank: List[UserRankInfo]) -> bytes: path_dir, filename = os.path.split(path) 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__))}) \ No newline at end of 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}}) \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index d84843c..9124373 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nonebot_plugin_dialectlist" -version = "2.1.5" +version = "2.1.6" description = "看看你群群友有多能说" authors = [ {name = "Chen_Xu233", email = "woyerpa@outlook.com"},