From c86c52e155cf678435d2f56074f0eeb82c230b7e Mon Sep 17 00:00:00 2001 From: Av007 Date: Thu, 16 Apr 2026 13:44:17 +0300 Subject: [PATCH] fix: add root __init__.py so ComfyUI discovers CreditDisplay when repo is cloned into custom_nodes/ Made-with: Cursor --- __init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 __init__.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..fd2bb77 --- /dev/null +++ b/__init__.py @@ -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"]