diff --git a/src/services/metadata_factory.py b/src/services/metadata_factory.py index 6fdb8992..7e643549 100644 --- a/src/services/metadata_factory.py +++ b/src/services/metadata_factory.py @@ -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"]: