mirror of
https://github.com/Zie619/n8n-workflows.git
synced 2025-11-25 03:15:25 +08:00
Merge pull request #78 from PraveenMudalgeri/add-folder-support
fix: recursive workflow indexing in subdirectories (Issue #74)
This commit is contained in:
@@ -434,6 +434,7 @@ class WorkflowDatabase:
|
||||
if not os.path.exists(self.workflows_dir):
|
||||
print(f"Warning: Workflows directory '{self.workflows_dir}' not found.")
|
||||
return {'processed': 0, 'skipped': 0, 'errors': 0}
|
||||
|
||||
workflows_path = Path(self.workflows_dir)
|
||||
json_files = list(workflows_path.rglob("*.json"))
|
||||
# json_files = glob.glob(os.path.join(self.workflows_dir, "*.json"), recursive=True)
|
||||
|
||||
Reference in New Issue
Block a user