From 647bd8811b71c3a2cf65d2662b7f6152e9aea6ca Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 1 Aug 2014 13:06:35 -0500 Subject: [PATCH] don't need these checks anymore --- resources/lib/backup.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 7318cc7..f428165 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -511,9 +511,7 @@ class FileManager: dirPath = xbmc.translatePath(directory + "/" + aDir) file_ext = aDir.split('.')[-1] - #don't backup your own zip file - if(aDir != "xbmc_backup_temp.zip"): - self.addFile("-" + dirPath) + self.addFile("-" + dirPath) #catch for "non directory" type files shouldWalk = True @@ -527,10 +525,9 @@ class FileManager: #copy all the files for aFile in files: - if(aFile != 'xbmc_backup_temp.zip'): - utils.log(aFile) - filePath = xbmc.translatePath(directory + "/" + aFile) - self.addFile(filePath) + utils.log(aFile) + filePath = xbmc.translatePath(directory + "/" + aFile) + self.addFile(filePath) def addFile(self,filename): try: