Skip to content

Commit

Permalink
✅ 修复anyio.open_file带来的测试问题
Browse files Browse the repository at this point in the history
  • Loading branch information
AzideCupric committed Dec 11, 2024
1 parent 7253353 commit a084ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot_bison/script/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async def subs_import(path: str, format: str):
logger.info("正在从yaml导入...")

pyyaml = import_yaml_module()
import_items = pyyaml.safe_load(f)
import_items = pyyaml.safe_load(await f.read())

case "json":
logger.info("正在从json导入...")
Expand Down

0 comments on commit a084ed0

Please sign in to comment.