community: update base_o365.py (#29657)

extention -> extension
This commit is contained in:
Ikko Eltociear Ashimine 2025-02-07 22:43:29 +09:00 committed by GitHub
parent 1b064e198f
commit 0d45ad57c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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