Optimize code

This commit is contained in:
croneter 2019-10-05 10:46:33 +02:00
parent 21bf68e148
commit ae0e121b13

View file

@ -24,8 +24,7 @@ from . import backgroundthread, app, variables as v
LOG = getLogger('PLEX.kodimonitor') LOG = getLogger('PLEX.kodimonitor')
# "Start from beginning", "Play from beginning" # "Start from beginning", "Play from beginning"
STRINGS = (utils.try_encode(utils.lang(12021)), STRINGS = (utils.lang(12021).encode('utf-8'), utils.lang(12023).encode('utf-8'))
utils.try_encode(utils.lang(12023)))
class KodiMonitor(xbmc.Monitor): class KodiMonitor(xbmc.Monitor):