mirror of
https://github.com/robweber/xbmcbackup.git
synced 2025-06-22 10:43:42 +02:00
don't need these checks anymore
This commit is contained in:
@ -511,8 +511,6 @@ 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)
|
||||
|
||||
#catch for "non directory" type files
|
||||
@ -527,7 +525,6 @@ 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)
|
||||
|
Reference in New Issue
Block a user