Fix TypeError upon deactivating screensaver

This commit is contained in:
croneter 2018-11-26 07:25:50 +01:00
parent a149d8de27
commit c4156cb865

View file

@ -138,7 +138,7 @@ class KodiMonitor(xbmc.Monitor):
elif method == "GUI.OnScreensaverDeactivated":
if utils.settings('dbSyncScreensaver') == "true":
self.waitForAbort(5)
utils.plex_command('RUN_LIB_SCAN', 'full')
app.SYNC.run_lib_scan = 'full'
elif method == "System.OnQuit":
LOG.info('Kodi OnQuit detected - shutting down')
app.APP.stop_pkc = True