From 08ddaee846ef6cce3a5d55df40c4efee4f48a676 Mon Sep 17 00:00:00 2001 From: MachinePainting Date: Sun, 1 Feb 2026 06:05:34 -0800 Subject: [PATCH] v1.0.2: Standardize node naming conventions --- __init__.py | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 __init__.py diff --git a/__init__.py b/__init__.py deleted file mode 100644 index aba2fe7..0000000 --- a/__init__.py +++ /dev/null @@ -1,27 +0,0 @@ -# ComfyUI_DropSendNode/__init__.py -# Register Dropbox Setup + Run-only nodes -from .dropsend_uploader_node import NODE_CLASS_MAPPINGS as RUN_CLASS, NODE_DISPLAY_NAME_MAPPINGS as RUN_DISPLAY -from .dropsend_setup_node import NODE_CLASS_MAPPINGS as SETUP_CLASS, NODE_DISPLAY_NAME_MAPPINGS as SETUP_DISPLAY -NODE_CLASS_MAPPINGS = {} -NODE_CLASS_MAPPINGS.update(RUN_CLASS) -NODE_CLASS_MAPPINGS.update(SETUP_CLASS) -NODE_DISPLAY_NAME_MAPPINGS = {} -NODE_DISPLAY_NAME_MAPPINGS.update(RUN_DISPLAY) -NODE_DISPLAY_NAME_MAPPINGS.update(SETUP_DISPLAY) -# Define web directory for JavaScript extensions -WEB_DIRECTORY = "./web" -# Register OAuth callback route with ComfyUI server -def register_oauth_routes(): - """Register OAuth callback routes with ComfyUI's PromptServer""" - try: - from server import PromptServer - from .oauth_handler import handle_oauth_callback - - # Add the OAuth callback route - PromptServer.instance.app.router.add_get('/oauth/dropbox/callback', handle_oauth_callback) - print("[DropSendNode] Registered OAuth callback route: /oauth/dropbox/callback") - - except Exception as e: - print(f"[DropSendNode] Warning: Could not register OAuth routes: {e}") -# Register routes when the node is loaded -register_oauth_routes() \ No newline at end of file