From 7ed70ca9cb54493c0e584f0c30108611cbc084f7 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 19 Jun 2015 12:49:28 -0500 Subject: [PATCH] delete the validation file after it was copied --- resources/lib/backup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index a3b2cbf..3bc81b9 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -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") + #remove the validation file + xbmcvfs.delete(xbmc.translatePath(utils.data_dir() + "xbmcbackup.val")) + return success def _checkValidationFile(self,path):