Skip to content

TypeError: decode() argument 1 must be string, not None #67

Closed
@kpmgceeftech

Description

@kpmgceeftech

Constant.titles.add function doesn't have default encoding so it throws this error.

from nameparser.config import Constants
czconst = Constants()
czconst.titles.add('BA'.encode('utf-8'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions