Merge branch 'main' into main

This commit is contained in:
afourney 2025-02-27 23:12:08 -08:00 committed by GitHub
commit b2002012f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -27,7 +27,7 @@ dependencies = [
"beautifulsoup4", "beautifulsoup4",
"requests", "requests",
"mammoth", "mammoth",
"markdownify", "markdownify~=0.14.1",
"numpy", "numpy",
"python-pptx", "python-pptx",
"pandas", "pandas",

View file

@ -312,6 +312,7 @@ class MarkItDown:
def _convert( def _convert(
self, local_path: str, extensions: List[Union[str, None]], **kwargs self, local_path: str, extensions: List[Union[str, None]], **kwargs
) -> DocumentConverterResult: ) -> DocumentConverterResult:
res: Union[None, DocumentConverterResult] = None
error_trace = "" error_trace = ""
# Create a copy of the page_converters list, sorted by priority. # Create a copy of the page_converters list, sorted by priority.