Fix for unicode error

The normalize_string method needs utf-8 encoding, not unicode.
This commit is contained in:
angelblue05 2015-06-19 09:02:29 -05:00
parent 3118434c47
commit 2abee11c6b

View file

@ -174,7 +174,7 @@ def getThemeMedia():
for item in result[u'Items']: for item in result[u'Items']:
itemId = item[u'Id'] itemId = item[u'Id']
folderName = item[u'Name'] folderName = item[u'Name']
folderName = utils.normalize_string(folderName) folderName = utils.normalize_string(folderName.encode('utf-8'))
itemIds[itemId] = folderName itemIds[itemId] = folderName
# Get paths # Get paths