Skip to content

Commit

Permalink
make sure that repr work with unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
willforde committed Nov 10, 2017
1 parent 3b994d9 commit 92e45f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.module.codequick/lib/codequick/listing.py
Expand Up @@ -789,7 +789,7 @@ def search(cls, callback, **params):

def __repr__(self):
"""Returns representation of the object."""
return "{}('{}')".format(self.__class__.__name__, self.label)
return "{}('{}')".format(self.__class__.__name__, ensure_native_str(self.label))


# Import callback functions required for listitem constructs
Expand Down

0 comments on commit 92e45f9

Please sign in to comment.