From 968595b1239ebb8ed2df51204949fc91e5d8b999 Mon Sep 17 00:00:00 2001 From: telamonian Date: Fri, 17 May 2024 14:08:25 -0400 Subject: [PATCH] bugfix. Custom nodes as entry point plugins has now been tested and is working --- nodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes.py b/nodes.py index a400cf41c..31e30b687 100644 --- a/nodes.py +++ b/nodes.py @@ -1929,13 +1929,13 @@ def load_custom_nodes(): def load_custom_nodes_entry_points(): base_node_names = set(NODE_CLASS_MAPPINGS.keys()) - for ep in entry_points(group='comfyui.node_class_mappings'): + for ep in entry_points(group="comfyui.node_class_mappings"): class_mapping = ep.load() for name in class_mapping: if name not in base_node_names: - NODE_CLASS_MAPPINGS[name] = mapping[name] + NODE_CLASS_MAPPINGS[name] = class_mapping[name] - for ep in entry_points(group='comfyui.node_display_name_mappings'): + for ep in entry_points(group="comfyui.node_display_name_mappings"): display_name_mapping = ep.load() NODE_DISPLAY_NAME_MAPPINGS.update(display_name_mapping)