From 720b17442d39b5991e1d3c336f9d16a0f75c929c Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 4 Jul 2024 21:09:05 -0400 Subject: [PATCH] Temporary revert. --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 81efecf6..03544be0 100644 --- a/nodes.py +++ b/nodes.py @@ -1913,7 +1913,7 @@ def get_module_name(module_path: str) -> str: def load_custom_node(module_path, ignore=set()): - module_name = get_module_name(module_path) + module_name = os.path.basename(module_path) try: logging.debug("Trying to load custom node {}".format(module_path)) if os.path.isfile(module_path):