mirror of
https://github.com/robweber/xbmcbackup.git
synced 2025-07-15 13:22:17 +02:00
Merge branch 'frodo-dev' of https://github.com/robweber/xbmcbackup into dropbox
This commit is contained in:
@ -171,6 +171,7 @@ class XbmcBackup:
|
||||
dirs,files = self.vfs.listdir(self.remote_root)
|
||||
if(len(dirs) > total_backups):
|
||||
#remove backups to equal total wanted
|
||||
dirs.sort()
|
||||
remove_num = len(dirs) - total_backups - 1
|
||||
self.filesTotal = self.filesTotal + remove_num + 1
|
||||
|
||||
|
Reference in New Issue
Block a user