Fix potential TypeError if setting value is missing
This commit is contained in:
parent
0d22b72112
commit
45b3c0e3f5
1 changed files with 1 additions and 1 deletions
|
@ -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 = float(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
|
||||||
|
|
Loading…
Reference in a new issue