mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-09-11 06:28:43 -06:00
Made Workflow Folders Exist within Persistent Storage
This commit is contained in:
@@ -117,7 +117,9 @@ def load_workflows():
|
|||||||
Scan <ProjectRoot>/Workflows for *.json files and return a table-friendly list.
|
Scan <ProjectRoot>/Workflows for *.json files and return a table-friendly list.
|
||||||
"""
|
"""
|
||||||
# Resolve <ProjectRoot>/Workflows relative to this file at <ProjectRoot>/Data/server.py
|
# 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] = []
|
results: List[Dict] = []
|
||||||
|
|
||||||
if not os.path.isdir(workflows_root):
|
if not os.path.isdir(workflows_root):
|
||||||
|
Reference in New Issue
Block a user