Permalink
Browse files

Use 'unicode' rather than 'str' for UTF8 compatibility.

  • Loading branch information...
wagnerrp committed Oct 23, 2012
1 parent 9f66fa0 commit 0bc83db48ec08b8df576c6ecbf1049567d34ab7a
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/bindings/python/MythTV/dataheap.py
@@ -52,7 +52,7 @@ def __new__(cls, attr, parent=None, imagetype=None):
if (imagetype is None) and (attr not in cls._types):
# usage appears to be export from immutable UserString methods
# return a dumb string
return str.__new__(str, attr)
return unicode.__new__(unicode, attr)
else:
return super(Artwork, cls).__new__(cls, attr, parent, imagetype)

0 comments on commit 0bc83db

Please sign in to comment.