diff --git a/scheduler.py b/scheduler.py index b01b507..66b3e46 100644 --- a/scheduler.py +++ b/scheduler.py @@ -22,9 +22,9 @@ class BackupScheduler: if(self.enabled == "true"): + nr = 0 if(xbmcvfs.exists(self.next_run_path)): - nr = 0 fh = xbmcvfs.File(self.next_run_path) try: #check if we saved a run time from the last run