Fix TypeError

This commit is contained in:
croneter 2018-11-20 19:10:26 +01:00
parent 37ed6c2347
commit 0d22b72112

View file

@ -85,7 +85,7 @@ class Service():
videonodes.VideoNodes().clearProperties() videonodes.VideoNodes().clearProperties()
clientinfo.getDeviceId() clientinfo.getDeviceId()
# Init time-offset between Kodi and Plex # Init time-offset between Kodi and Plex
timing.KODI_PLEX_TIME_OFFSET = utils.settings('kodiplextimeoffset') or 0.0 timing.KODI_PLEX_TIME_OFFSET = float(utils.settings('kodiplextimeoffset')) or 0.0
def isCanceled(self): def isCanceled(self):
return xbmc.abortRequested or app.APP.stop_pkc return xbmc.abortRequested or app.APP.stop_pkc