Update src/services/metadata_factory.py

corrected supported extensions list

Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com>
This commit is contained in:
HERITAGE-XION 2026-01-10 14:08:50 +01:00 committed by GitHub
parent 0bbfe84fd1
commit e5705f0bbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class MetadataFactory:
UnsupportedFormatError: If no handler is defined for the file type.
ValueError: If the path is not a valid file.
"""
supported_extensions = ".jpg, .jpeg, .png .docx .xlsx .pptx"
supported_extensions = ".jpg, .jpeg, .png, .docx, .xlsx, .pptx"
ext = Path(filepath).suffix.lower()
if Path(filepath).is_file():
if ext in [".jpg", ".jpeg", ".png"]: