From 5e53884030a6673ae058d11323b16e9ea0ebdb49 Mon Sep 17 00:00:00 2001 From: im85288 Date: Sat, 20 Jun 2015 16:28:52 +0100 Subject: [PATCH] re-added fix for unicodes --- addon.xml | 2 +- resources/lib/Entrypoint.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addon.xml b/addon.xml index 9c123609..7c9aeb6e 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/Entrypoint.py b/resources/lib/Entrypoint.py index 4ef07560..7f863fff 100644 --- a/resources/lib/Entrypoint.py +++ b/resources/lib/Entrypoint.py @@ -175,7 +175,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 for theme videos @@ -216,7 +216,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