Minor refactoring

This commit is contained in:
Miroslav Stampar 2012-12-20 15:51:03 +01:00
parent 2ac99e5021
commit 8efe056671

View File

@ -3185,7 +3185,7 @@ def decodeHexValue(value):
pass pass
if not isinstance(value, unicode): if not isinstance(value, unicode):
value = value.decode("utf8", "replace") value = getUnicode(value, "utf8")
return value return value