Skip to content

Possibly incorrect test when checking for (name, email) tuple #167

@Cheaterman

Description

@Cheaterman

https://github.com/lavr/python-emails/blob/eb1adb459116bcc66b7e413a468e1a97336034d9/emails/utils.py#LL134C69-L134C70

I think this test might be incorrect? Perhaps the line should read as follows:

if isinstance(e, string_types) and (not n or isinstance(n, string_types)):

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