Skip to content

'res' variable not declared inside _convert before usage #40

@dsimanis

Description

@dsimanis

res variable inside MarkItDown class _convert method is not declared before usage:

_markitdown.py", line 1045, in _convert
    if res is not None:
       ^^^
UnboundLocalError: cannot access local variable 'res' where it is not associated with a value

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions