Python tool for converting files and office documents to Markdown.
fix incorrect comments for "bail if not ..." for WAV and image cases.
Lee Bush05a49ca12926
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.pyindex a7fb28a1..041e56e6 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 WAVextension = 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 imageextension = kwargs.get("file_extension", "")if extension.lower() not in [".jpg", ".jpeg", ".png"]:return None