From 82e7530816924f024de98ece58cad4c5973c8891 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 26 Feb 2017 15:21:55 +0100 Subject: [PATCH] Fix TypeError - Partially fixes #236 --- resources/lib/initialsetup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/initialsetup.py b/resources/lib/initialsetup.py index 7bae1bde..4e9ad834 100644 --- a/resources/lib/initialsetup.py +++ b/resources/lib/initialsetup.py @@ -6,13 +6,12 @@ import logging import xbmc import xbmcgui -from utils import settings, window, language as lang +from utils import settings, window, language as lang, tryEncode import downloadutils from userclient import UserClient from PlexAPI import PlexAPI from PlexFunctions import GetMachineIdentifier, get_PMS_settings -import variables as v ############################################################################### @@ -257,7 +256,8 @@ class InitialSetup(): log.warn('Not authorized even though we are signed ' ' in to plex.tv correctly') self.dialog.ok(lang(29999), '%s %s' - % lang(39214) + server['name']) + % (lang(39214), + tryEncode(server['name']))) return else: return