mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix bug
This commit is contained in:
@@ -195,7 +195,7 @@ async def _alist_skills(source_path: AsyncPath) -> list[SkillMetadata]:
|
|||||||
|
|
||||||
# 查找所有技能目录 (包含 SKILL.md 的目录)
|
# 查找所有技能目录 (包含 SKILL.md 的目录)
|
||||||
skill_dirs: List[AsyncPath] = []
|
skill_dirs: List[AsyncPath] = []
|
||||||
for path in source_path.iterdir():
|
async for path in source_path.iterdir():
|
||||||
if await path.is_dir() and await (path / "SKILL.md").is_file():
|
if await path.is_dir() and await (path / "SKILL.md").is_file():
|
||||||
skill_dirs.append(path)
|
skill_dirs.append(path)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user