diff --git a/workflow_db.py b/workflow_db.py index 718d6fe..4a5ef8c 100644 --- a/workflow_db.py +++ b/workflow_db.py @@ -435,7 +435,7 @@ class WorkflowDatabase: print(f"Warning: Workflows directory '{self.workflows_dir}' not found.") return {'processed': 0, 'skipped': 0, 'errors': 0} - json_files = glob.glob(os.path.join(self.workflows_dir, "*.json")) + json_files = glob.glob(os.path.join(self.workflows_dir, "**", ".json"), recursive=True) if not json_files: print(f"Warning: No JSON files found in '{self.workflows_dir}' directory.")