From 71f10b89068c5e108d6adc09ba746ad5a1b8d725 Mon Sep 17 00:00:00 2001 From: sualfred Date: Mon, 11 Jan 2021 08:27:19 +0000 Subject: [PATCH] [script.embuary.helper] 1.5.0 --- script.embuary.helper/addon.xml | 2 +- script.embuary.helper/resources/lib/plugin_content.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/script.embuary.helper/addon.xml b/script.embuary.helper/addon.xml index c62326e04..61fc9eb11 100644 --- a/script.embuary.helper/addon.xml +++ b/script.embuary.helper/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/script.embuary.helper/resources/lib/plugin_content.py b/script.embuary.helper/resources/lib/plugin_content.py index 80c29ff5c..bca300201 100644 --- a/script.embuary.helper/resources/lib/plugin_content.py +++ b/script.embuary.helper/resources/lib/plugin_content.py @@ -808,7 +808,10 @@ def getitemsbyactor(self): self._retry('getitemsbyactor') if not PYTHON3: - plugin_category = ADDON.getLocalizedString(32030) + ' ' + actor.decode('utf-8') + if isinstance(actor, unicode): + plugin_category = ADDON.getLocalizedString(32030) + ' ' + actor + else: + plugin_category = ADDON.getLocalizedString(32030) + ' ' + actor.decode('utf-8') else: plugin_category = ADDON.getLocalizedString(32030) + ' ' + actor