Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgc2333 committed Sep 5, 2023
1 parent 3f45471 commit 2cdb907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nonebot_plugin_pjsk/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 2cdb907

Please sign in to comment.