Skip to content

Wrong check for ElementTree classes #6

@flying-sheep

Description

@flying-sheep

I get this:

TypeError: <xml.etree.ElementTree.ElementTree object at 0x7fcb00395e80> is of type <class 'xml.etree.ElementTree.ElementTree'>.
           This object only can displays objects of type str, bytes, lxml.etree._ElementTree, or lxml.etree._Element.

It should also support stdlib etree objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions