fix: add root __init__.py so ComfyUI discovers CreditDisplay when repo is cloned into custom_nodes/

Made-with: Cursor
This commit is contained in:
Av007
2026-04-16 13:44:17 +03:00
parent 6680503fef
commit c86c52e155
+11
View File
@@ -0,0 +1,11 @@
# ComfyUI custom node entry point.
# This file sits at the repo root so ComfyUI finds it when the repo is
# cloned directly into custom_nodes/ (e.g. as custom_nodes/custom_fns/).
# It re-exports the node mappings from the nested package.
from custom_nodes.credit_tracker import (
NODE_CLASS_MAPPINGS,
NODE_DISPLAY_NAME_MAPPINGS,
)
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]