delete the validation file after it was copied

This commit is contained in:
Rob Weber 2015-06-19 12:49:28 -05:00
parent faccf424b7
commit 7ed70ca9cb

View File

@ -526,6 +526,9 @@ class XbmcBackup:
success = self.remote_vfs.put(xbmc.translatePath(utils.data_dir() + "xbmcbackup.val"),self.remote_vfs.root_path + "xbmcbackup.val") success = self.remote_vfs.put(xbmc.translatePath(utils.data_dir() + "xbmcbackup.val"),self.remote_vfs.root_path + "xbmcbackup.val")
#remove the validation file
xbmcvfs.delete(xbmc.translatePath(utils.data_dir() + "xbmcbackup.val"))
return success return success
def _checkValidationFile(self,path): def _checkValidationFile(self,path):