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
1 changed files with 1 additions and 1 deletions

View File

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