Skip to content

Charset encoding bug in getspace_osx.py's notify() #1

@jnshnz

Description

@jnshnz

unicode letters resulting in error

  File "getspace.py", line 210, in <module>
    getspace.notify("Boldly go where only aliens have gone before", title.replace("'", ""), "Background image has been set.", "success")
  File "/path/to/getspace_osx.py", line 15, in notify
    """.format(text, title, subtitle, sound))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 30: ordinal not in range(128)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions