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():