summaryrefslogtreecommitdiff
path: root/Lib/plat-mac/aepack.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/aepack.py')
-rw-r--r--Lib/plat-mac/aepack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/aepack.py b/Lib/plat-mac/aepack.py
index 9be242cf9d..3511270d9a 100644
--- a/Lib/plat-mac/aepack.py
+++ b/Lib/plat-mac/aepack.py
@@ -154,7 +154,7 @@ def unpack(desc, formodulename=""):
if t == typeChar:
return desc.data
if t == typeUnicodeText:
- return unicode(desc.data, 'utf16')
+ return str(desc.data, 'utf16')
# typeColorTable coerced to typeAEList
# typeComp coerced to extended
# typeData returned as unknown