Skip to content

Wrong type used in unidecode in python2. #26

@kazz-s

Description

@kazz-s

new = ''.join(rv).strip()

Here if rv happens to be an empty list then type of new will be regular string not Unicode.
When called unidecode on it confusing warnings appears.

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