diff --git a/ingest.py b/ingest.py index 620a652..2930138 100755 --- a/ingest.py +++ b/ingest.py @@ -97,7 +97,7 @@ def load_documents(source_dir: str, ignored_files: List[str] = []) -> List[Docum all_files = [] for ext in LOADER_MAPPING: all_files.extend( - glob.glob(os.path.join(source_dir, f"**/*{ext}"), recursive=True) + glob.glob(os.path.join(source_dir, f"**/*{ext}"), recursive=True) ) filtered_files = [file_path for file_path in all_files if file_path not in ignored_files]