diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml
index c5c8e27..1e72c8e 100644
--- a/resources/language/English/strings.xml
+++ b/resources/language/English/strings.xml
@@ -87,4 +87,6 @@
Delete Authorization Info
This will delete any OAuth token files
Do you want to do this?
+ Old Zip Archive could not be deleted
+ This needs to happen before a backup can run
diff --git a/resources/lib/backup.py b/resources/lib/backup.py
index 2093df2..792335f 100644
--- a/resources/lib/backup.py
+++ b/resources/lib/backup.py
@@ -118,7 +118,10 @@ class XbmcBackup:
if(utils.getSetting("compress_backups") == 'true'):
#delete old temp file
if(self.xbmc_vfs.exists(xbmc.translatePath('special://temp/xbmc_backup_temp.zip'))):
- self.xbmc_vfs.rmfile(xbmc.translatePath('special://temp/xbmc_backup_temp.zip'))
+ if(not self.xbmc_vfs.rmfile(xbmc.translatePath('special://temp/xbmc_backup_temp.zip'))):
+ #we had some kind of error deleting the old file
+ xbmcgui.Dialog().ok(utils.getString(30010),utils.getString(30096),utils.getString(30097))
+ return
#save the remote file system and use the zip vfs
self.saved_remote_vfs = self.remote_vfs