From 9c1ecc254f91cdcbaf56c3e4197e937f1c211e1f Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Mon, 18 Jan 2021 13:48:17 -0600 Subject: [PATCH] path to this folder was incorrect --- resources/lib/backup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 1c7f313..05976d5 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -339,7 +339,9 @@ class XbmcBackup: if(self.restore_point.split('.')[-1] == 'zip'): # delete the zip file and the extracted directory self.xbmc_vfs.rmfile(os.path.join(self.ZIP_TEMP_PATH, self.restore_point)) - self.xbmc_vfs.rmdir(self.remote_vfs.root_path) + xbmc.sleep(1000) + self.xbmc_vfs.rmdir(self.remote_vfs.clean_path(os.path.join(self.ZIP_TEMP_PATH, self.restore_point.split(".")[0]))) + xbmc.sleep(1000) # call update addons to refresh everything xbmc.executebuiltin('UpdateLocalAddons')