Made Workflow Folders Exist within Persistent Storage

This commit is contained in:
2025-08-08 00:23:56 -06:00
parent e829b72b38
commit 43145a4ab4
2 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -117,7 +117,9 @@ def load_workflows():
Scan <ProjectRoot>/Workflows for *.json files and return a table-friendly list.
"""
# Resolve <ProjectRoot>/Workflows relative to this file at <ProjectRoot>/Data/server.py
workflows_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "Workflows"))
workflows_root = os.path.abspath(
os.path.join(os.path.dirname(__file__), "..", "..", "Workflows")
)
results: List[Dict] = []
if not os.path.isdir(workflows_root):