Merge pull request #67 from DIMAX99/issue#65

fix issue #65
This commit is contained in:
gagb
2024-12-16 17:18:53 -08:00
committed by GitHub

View File

@@ -1237,8 +1237,7 @@ class MarkItDown:
if ext == "":
return
# if ext not in extensions:
if True:
extensions.append(ext)
extensions.append(ext)
def _guess_ext_magic(self, path):
"""Use puremagic (a Python implementation of libmagic) to guess a file's extension based on the first few bytes."""