diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index a7fb28a..041e56e 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -681,7 +681,7 @@ class WavConverter(MediaConverter): """ def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]: - # Bail if not a XLSX + # Bail if not a WAV extension = kwargs.get("file_extension", "") if extension.lower() != ".wav": return None @@ -797,7 +797,7 @@ class ImageConverter(MediaConverter): """ def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]: - # Bail if not a XLSX + # Bail if not an image extension = kwargs.get("file_extension", "") if extension.lower() not in [".jpg", ".jpeg", ".png"]: return None