mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
nr should initialize before if statement, fixes #124
This commit is contained in:
parent
f31c2f7b4d
commit
588132c8dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user