Skip to content

Commit 75140a9

Browse files
authored
fix: correct f-string formatting in FileConversionException (#1121)
1 parent af1be36 commit 75140a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/markitdown/src/markitdown/_exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(
6969
message = f"File conversion failed after {len(attempts)} attempts:\n"
7070
for attempt in attempts:
7171
if attempt.exc_info is None:
72-
message += " - {type(attempt.converter).__name__} provided no execution info."
72+
message += f" - {type(attempt.converter).__name__} provided no execution info."
7373
else:
7474
message += f" - {type(attempt.converter).__name__} threw {attempt.exc_info[0].__name__} with message: {attempt.exc_info[1]}\n"
7575

0 commit comments

Comments
 (0)