From 2abee11c6bec17d238e6c22c368a072bba372e96 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 19 Jun 2015 09:02:29 -0500 Subject: [PATCH] Fix for unicode error The normalize_string method needs utf-8 encoding, not unicode. --- resources/lib/Entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/Entrypoint.py b/resources/lib/Entrypoint.py index 1b9deec4..d04405a0 100644 --- a/resources/lib/Entrypoint.py +++ b/resources/lib/Entrypoint.py @@ -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