From e1dec3c79269d1ed9d9cb018b2874737b02d2757 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sat, 28 Dec 2024 05:33:17 -0500 Subject: [PATCH] Fix formatting. --- app/custom_node_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/custom_node_manager.py b/app/custom_node_manager.py index 32f15aa9..277f8954 100644 --- a/app/custom_node_manager.py +++ b/app/custom_node_manager.py @@ -26,9 +26,9 @@ class CustomNodeManager: workflow_name = os.path.splitext(os.path.basename(file))[0] workflow_templates_dict.setdefault(custom_nodes_name, []).append(workflow_name) return web.json_response(workflow_templates_dict) - + # Serve workflow templates from custom nodes. for module_name, module_dir in loadedModules: workflows_dir = os.path.join(module_dir, 'example_workflows') if os.path.exists(workflows_dir): - webapp.add_routes([web.static('/api/workflow_templates/' + module_name, workflows_dir)]) \ No newline at end of file + webapp.add_routes([web.static('/api/workflow_templates/' + module_name, workflows_dir)])