From 0d45ad57c1bd1f0184179169dbeb921fcdfab523 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Fri, 7 Feb 2025 22:43:29 +0900 Subject: [PATCH] community: update base_o365.py (#29657) extention -> extension --- .../community/langchain_community/document_loaders/base_o365.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/document_loaders/base_o365.py b/libs/community/langchain_community/document_loaders/base_o365.py index 4cd341fadde..bbc07b504a8 100644 --- a/libs/community/langchain_community/document_loaders/base_o365.py +++ b/libs/community/langchain_community/document_loaders/base_o365.py @@ -60,7 +60,7 @@ def fetch_mime_types(file_types: Sequence[str]) -> Dict[str, str]: if mime_type: mime_types_mapping[ext] = mime_type else: - raise ValueError(f"Unknown mimetype of extention {ext}") + raise ValueError(f"Unknown mimetype of extension {ext}") return mime_types_mapping