Skip to content

Commit 7ad5a71

Browse files
committed
fix: missing submodules error message (#7)
1 parent 9af75df commit 7ad5a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from .nodes import comfyui_tooling_nodes
2424
NODE_CLASS_MAPPINGS.update(comfyui_tooling_nodes.NODE_CLASS_MAPPINGS)
2525
NODE_DISPLAY_NAME_MAPPINGS.update(comfyui_tooling_nodes.NODE_DISPLAY_NAME_MAPPINGS)
26-
except ImportError as e:
26+
except (ImportError, AttributeError) as e:
2727
success = False
2828
print(
2929
f'''\033[34mComfyScript: \033[91mFailed to load nodes due to missing submodules: {e}.

0 commit comments

Comments
 (0)