add warning message

This commit is contained in:
Terry Jia 2025-04-28 21:07:55 -04:00
parent d5b9b0bc6c
commit f0c30fdf64

View File

@ -126,6 +126,11 @@ class CustomNodeManager:
workflows_dir = os.path.join(module_dir, folder_name)
if os.path.exists(workflows_dir):
if folder_name != "example_workflows":
logging.warning(
"WARNING: Found example workflow folder '%s' for custom node '%s', consider renaming it to 'example_workflows'",
folder_name, module_name)
webapp.add_routes(
[
web.static(