Skip to content

xml.etree.ElementTree.Element FutureWarnings #515

@jjlawren

Description

@jjlawren

Describe the issue
Some bool-style checks on xml.etree.ElementTree.Element objects are used to determine if they're empty. These checks throw errors during normal use:
https://github.com/pkkid/python-plexapi/blob/37c857568d6c8c2e0f8dda396250872580a28810/plexapi/myplex.py#L142
https://github.com/pkkid/python-plexapi/blob/37c857568d6c8c2e0f8dda396250872580a28810/plexapi/client.py#L72

Expected behavior
No warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions