diff --git a/nonebot_plugin_pjsk/resource.py b/nonebot_plugin_pjsk/resource.py index d79fa9d..f136837 100644 --- a/nonebot_plugin_pjsk/resource.py +++ b/nonebot_plugin_pjsk/resource.py @@ -86,7 +86,8 @@ async def download(font_name: str): # download(path.name) for path in FONT_PATHS if not path.exists() # ] # await asyncio.gather(*tasks) - await download(FONT_PATH.name) + if not FONT_PATH.exists(): + await download(FONT_PATH.name) async def load_sticker_info():