mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 14:05:23 +01:00
old logging and misssed name
This commit is contained in:
parent
545843e949
commit
5dfa9d9b76
@ -245,7 +245,7 @@ class XbmcBackup:
|
||||
self.backupFiles(fileManager.getFiles(),self.xbmc_vfs, self.remote_vfs)
|
||||
|
||||
#delete the temp zip file
|
||||
self.xbmc_vfs.rmfile(xbmc.translatePath(utils.data_dir() + zip_name))
|
||||
self.xbmc_vfs.rmfile(xbmc.translatePath("special://temp/" + zip_name))
|
||||
|
||||
#remove old backups
|
||||
self._rotateBackups()
|
||||
@ -531,7 +531,6 @@ class FileManager:
|
||||
|
||||
#copy all the files
|
||||
for aFile in files:
|
||||
utils.log(aFile)
|
||||
filePath = xbmc.translatePath(directory + "/" + aFile)
|
||||
self.addFile(filePath)
|
||||
|
||||
|
@ -65,7 +65,6 @@ class XBMCFileSystem(Vfs):
|
||||
return xbmcvfs.mkdir(directory)
|
||||
|
||||
def put(self,source,dest):
|
||||
utils.log(source + ":" + dest)
|
||||
return xbmcvfs.copy(source,dest)
|
||||
|
||||
def rmdir(self,directory):
|
||||
|
Loading…
Reference in New Issue
Block a user