mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +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"):
|
if(self.enabled == "true"):
|
||||||
|
|
||||||
|
nr = 0
|
||||||
if(xbmcvfs.exists(self.next_run_path)):
|
if(xbmcvfs.exists(self.next_run_path)):
|
||||||
|
|
||||||
nr = 0
|
|
||||||
fh = xbmcvfs.File(self.next_run_path)
|
fh = xbmcvfs.File(self.next_run_path)
|
||||||
try:
|
try:
|
||||||
#check if we saved a run time from the last run
|
#check if we saved a run time from the last run
|
||||||
|
Loading…
Reference in New Issue
Block a user