From 1255283f4d6751905e83a8d3a0240661a3af83d2 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 1 Aug 2014 14:03:03 -0500 Subject: [PATCH] should clean up zip resources after extract --- resources/lib/backup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index bb0afe1..2e1ee3f 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -279,7 +279,8 @@ class XbmcBackup: #extract the zip file zip_vfs = ZipFileSystem(xbmc.translatePath("special://temp/"+ self.restore_point),'r') zip_vfs.extract(xbmc.translatePath("special://temp/")) - + zip_vfs.cleanup() + #set the new remote vfs and fix xbmc path self.remote_vfs = XBMCFileSystem(xbmc.translatePath("special://temp/" + self.restore_point.split(".")[0] + "/")) self.xbmc_vfs.set_root(xbmc.translatePath("special://home"))