mirror of
https://github.com/open-webui/computer.git
synced 2026-12-04 18:47:57 -05:00
refac
This commit is contained in:
1 parent
0569a1a366
commit
e6f3b27737
5 files changed
+20
-7
No files matched your search
@@ -423,7 +423,7 @@ def discover_skills(workspace: str) -> list[SkillMeta]:
|
||||
ws = Path(workspace)
|
||||
|
||||
# 1. Workspace-level skills (project-specific, git-trackable)
|
||||
if ws.is_dir():
|
||||
if workspace and ws.is_dir():
|
||||
for rel_dir in WORKSPACE_SKILL_DIRS:
|
||||
skills_dir = ws / rel_dir
|
||||
for skill in _scan_skills_dir(skills_dir, source="workspace", workspace=workspace):
|
||||
|
||||
Reference in new issue
Block a user