Fix TypeError

- Partially fixes #236
This commit is contained in:
tomkat83 2017-02-26 15:21:55 +01:00
parent 0b5c138709
commit 82e7530816

View file

@ -6,13 +6,12 @@ import logging
import xbmc import xbmc
import xbmcgui import xbmcgui
from utils import settings, window, language as lang from utils import settings, window, language as lang, tryEncode
import downloadutils import downloadutils
from userclient import UserClient from userclient import UserClient
from PlexAPI import PlexAPI from PlexAPI import PlexAPI
from PlexFunctions import GetMachineIdentifier, get_PMS_settings 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 ' log.warn('Not authorized even though we are signed '
' in to plex.tv correctly') ' in to plex.tv correctly')
self.dialog.ok(lang(29999), '%s %s' self.dialog.ok(lang(29999), '%s %s'
% lang(39214) + server['name']) % (lang(39214),
tryEncode(server['name'])))
return return
else: else:
return return