From b3042fdf6fab93a934d90d58e99a670a1e963a88 Mon Sep 17 00:00:00 2001 From: wl-zhao Date: Tue, 22 Oct 2024 15:33:04 +0800 Subject: [PATCH] fix bug --- dependency_checker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dependency_checker.py b/dependency_checker.py index bafe875..d88804c 100644 --- a/dependency_checker.py +++ b/dependency_checker.py @@ -114,7 +114,8 @@ def resolve_dependencies(prompt, custom_dependencies): # resolve custom nodes an if node_class_type is None: raise NotImplementedError(f"Missing nodes founded, please first install the missing nodes using ComfyUI Manager") node_cls = NODE_CLASS_MAPPINGS[node_class_type] - if hasattr(node_cls, "RELATIVE_PYTHON_MODULE"): + if hasattr(node_cls, "RELATIVE_PYTHON_MODULE") and node_cls.RELATIVE_PYTHON_MODULE.startswith("custom_nodes."): + print(node_cls.RELATIVE_PYTHON_MODULE) custom_nodes.append(node_cls.RELATIVE_PYTHON_MODULE) if node_class_type in model_loaders_info: for field_name, filename in node_info["inputs"].items():