mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
change to wait for abort in case someone tries to close Kodi
This commit is contained in:
parent
181654b414
commit
c9415cbf59
@ -25,7 +25,7 @@ class BackupScheduler:
|
||||
if(self.enabled == "true"):
|
||||
|
||||
#sleep for 2 minutes so Kodi can start and time can update correctly
|
||||
xbmc.sleep(1000 * 120)
|
||||
xbmc.Monitor().waitForAbort(120)
|
||||
|
||||
nr = 0
|
||||
if(xbmcvfs.exists(self.next_run_path)):
|
||||
|
Loading…
Reference in New Issue
Block a user