diff --git a/scheduler.py b/scheduler.py index d7320b9..e569491 100644 --- a/scheduler.py +++ b/scheduler.py @@ -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)):