Update ddm_nodes.py

This commit is contained in:
Revmagi
2025-10-30 16:58:14 -04:00
committed by GitHub
parent 5430c94dc4
commit 3269da94ce
+4 -2
View File
@@ -1,6 +1,6 @@
"""
DDM Bundle - Set/Get Nodes for ComfyUI
Clean workflow routing without spaghetti connections
Backend execution logic
"""
STORAGE = {}
@@ -58,7 +58,7 @@ class DDM_GetNode:
def execute(self, id):
if id not in STORAGE:
raise ValueError(f"DDM Get Node Error: ID '{id}' not found in storage!")
return (None,)
return (STORAGE[id],)
@@ -71,3 +71,5 @@ NODE_DISPLAY_NAME_MAPPINGS = {
"DDM_SetNode": "DDM Set Node",
"DDM_GetNode": "DDM Get Node",
}
WEB_DIRECTORY = "./web"