From 5d1931ee1a94c411f1d4c47ed5a5e03d4a33b85e Mon Sep 17 00:00:00 2001 From: luizoti Date: Sat, 9 Jan 2021 15:53:26 -0300 Subject: [PATCH] fix UnicodeDecodeError: 'ascii' --- resources/lib/menus/synced.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/menus/synced.py b/resources/lib/menus/synced.py index fecca43..8c5b90e 100644 --- a/resources/lib/menus/synced.py +++ b/resources/lib/menus/synced.py @@ -477,7 +477,7 @@ def view(self): xbmcgui.Dialog().ok(utils.ADDON_NAME, STR_NO_SYNCED_DIRS) return lines = [ - '[B]%s[/B] - %s - [I]%s[/I]' % (x['label'], x.localize_type(), x['dir']) + '[B]%s[/B] - %s - [I]%s[/I]' % (x['label'].decode('utf-8'), x.localize_type(), x['dir']) for x in synced_dirs ] lines += [STR_UPDATE_ALL, STR_UPDATE_MOVIES, STR_UPDATE_TV_SHOWS, STR_REMOVE_ALL, STR_BACK]