Skip to content

compares the requests.Response object to a string isn't good #3219

Description

@ReimarBauer

if users_response != "False": compares the requests.Response object to a string, so it's always true | The else branch is dead code. With an expired token, GetAuthorizedUsersResponse.from_text() returns None and .users raises AttributeError

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions