Fix zip files getting an extra copy of each file on each run of the scheduler

This commit is contained in:
Andrew Brock 2015-05-06 21:36:50 +10:00
parent 7d2c8c54c6
commit 6786a233e0

View File

@ -558,12 +558,11 @@ class XbmcBackup:
rFile.close() rFile.close()
class FileManager: class FileManager:
fileArray = []
not_dir = ['.zip','.xsp','.rar'] not_dir = ['.zip','.xsp','.rar']
vfs = None
def __init__(self,vfs): def __init__(self,vfs):
self.vfs = vfs self.vfs = vfs
self.fileArray = []
def walkTree(self,directory): def walkTree(self,directory):