mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
should clean up zip resources after extract
This commit is contained in:
parent
b3bbdd6911
commit
1255283f4d
@ -279,6 +279,7 @@ 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] + "/"))
|
||||
|
Loading…
Reference in New Issue
Block a user