mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
Fix bug
This commit is contained in:
parent
4b4eae7171
commit
b67b6920d1
2
nodes.py
2
nodes.py
@ -610,7 +610,7 @@ def load_custom_nodes():
|
||||
module_path = os.path.join(CUSTOM_NODE_PATH, possible_module)
|
||||
if os.path.isfile(module_path) and os.path.splitext(module_path)[1] != ".py": continue
|
||||
try:
|
||||
custom_nodes = import_module(possible_module, CUSTOM_NODE_PATH)
|
||||
custom_nodes = import_module(os.path.join(possible_module, CUSTOM_NODE_PATH))
|
||||
if getattr(custom_nodes, "NODE_CLASS_MAPPINGS") is not None:
|
||||
NODE_CLASS_MAPPINGS.update(custom_nodes.NODE_CLASS_MAPPINGS)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user