mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
some spacing
This commit is contained in:
parent
9246c9b586
commit
64ae75252f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user