some spacing

This commit is contained in:
Rob Weber 2014-10-10 08:50:29 -05:00
parent 9246c9b586
commit 64ae75252f

View File

@ -71,7 +71,7 @@ class XbmcBackup:
#get all the folders in the current root path #get all the folders in the current root path
dirs,files = self.remote_vfs.listdir(self.remote_base_path) dirs,files = self.remote_vfs.listdir(self.remote_base_path)
for aDir in dirs: for aDir in dirs:
if(self.remote_vfs.exists(self.remote_base_path + aDir + "/xbmcbackup.val")): if(self.remote_vfs.exists(self.remote_base_path + aDir + "/xbmcbackup.val")):
@ -458,8 +458,9 @@ class XbmcBackup:
if(total_backups > 0): if(total_backups > 0):
#get a list of valid backup folders #get a list of valid backup folders
dirs = self.listBackups() dirs = self.listBackups()
if(len(dirs) > total_backups): if(len(dirs) > total_backups):
#remove backups to equal total wanted #remove backups to equal total wanted
remove_num = 0 remove_num = 0
self.filesTotal = self.filesTotal + remove_num + 1 self.filesTotal = self.filesTotal + remove_num + 1