diff --git a/packages/markitdown/README.md b/packages/markitdown/README.md index edd270166..e52b95cd3 100644 --- a/packages/markitdown/README.md +++ b/packages/markitdown/README.md @@ -10,7 +10,7 @@ From PyPI: ```bash -pip install markitdown[all] +pip install 'markitdown[all]' ``` From source: @@ -18,7 +18,7 @@ From source: ```bash git clone git@github.com:microsoft/markitdown.git cd markitdown -pip install -e packages/markitdown[all] +pip install -e 'packages/markitdown[all]' ``` ## Usage diff --git a/packages/markitdown/src/markitdown/_markitdown.py b/packages/markitdown/src/markitdown/_markitdown.py index f342a614b..2ca63ef72 100644 --- a/packages/markitdown/src/markitdown/_markitdown.py +++ b/packages/markitdown/src/markitdown/_markitdown.py @@ -601,6 +601,7 @@ def _convert( ), f"{type(converter).__name__}.accept() should NOT change the file_stream position" # Attempt the conversion + res = None if _accepts: try: res = converter.convert(file_stream, stream_info, **_kwargs)