From a8a5a6f1fd78d736dcdd5765ec8d1662f98503e1 Mon Sep 17 00:00:00 2001 From: John Pollock Date: Tue, 30 Sep 2025 17:02:59 -0500 Subject: [PATCH] feat(__init__): add WEB_DIRECTORY constant for web assets path Add a new constant WEB_DIRECTORY set to "./web" to define the directory path for web-related assets during package initialization. This improves organization by centralizing the path configuration. Additionally, removed trailing newline at file end to maintain consistent code formatting. --- __init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 10fc88e..911087b 100644 --- a/__init__.py +++ b/__init__.py @@ -20,6 +20,7 @@ from .model_management_mgpu import ( force_full_system_cleanup, ) +WEB_DIRECTORY = "./web" MGPU_MM_LOG = False DEBUG_LOG = False @@ -288,4 +289,4 @@ for item in registration_data: logger.info(fmt_reg.format(item['name'], item['found'], str(item['count']))) logger.info(dash_line) -logger.info(f"[MultiGPU] Registration complete. Final mappings: {', '.join(NODE_CLASS_MAPPINGS.keys())}") +logger.info(f"[MultiGPU] Registration complete. Final mappings: {', '.join(NODE_CLASS_MAPPINGS.keys())}") \ No newline at end of file