Skip to content

Commit b5244d1

Browse files
committed
fix: manage node detection
Signed-off-by: Frost Ming <me@frostming.com>
1 parent c672025 commit b5244d1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/comfy_pack/package.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ def install_comfyui(snapshot, workspace: Path, verbose: int = 0):
6868
shutil.rmtree(workspace)
6969
_clone_commit(COMFYUI_REPO, comfyui_commit, workspace, verbose=verbose)
7070
manager_node = next(
71-
url
72-
for url in snapshot.get("git_custom_nodes", {})
73-
if url.endswith("ComfyUI-Manager.git")
71+
url for url in snapshot.get("git_custom_nodes", {}) if "ComfyUI-Manager" in url
7472
)
7573
if manager_node:
7674
manager_commit = snapshot["git_custom_nodes"][manager_node]["hash"].strip()

0 commit comments

Comments
 (0)