Skip to content

Python tool for converting files and office documents to Markdown.

fix issue #65

Divitad01da308dfe
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py
index 96997cf3..80d9c307 100644
--- a/src/markitdown/_markitdown.py
+++ b/src/markitdown/_markitdown.py
@@ -1071,8 +1071,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."""