mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
don't need to encode file path, just the name
This commit is contained in:
parent
d69a1b2d27
commit
38cc67a54d
@ -94,7 +94,7 @@ class ZipFileSystem(Vfs):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def put(self,source,dest):
|
def put(self,source,dest):
|
||||||
self.zip.write(utils.encode(source),utils.encode(dest),compress_type=zipfile.ZIP_DEFLATED)
|
self.zip.write(source,utils.encode(dest),compress_type=zipfile.ZIP_DEFLATED)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def rmdir(self,directory):
|
def rmdir(self,directory):
|
||||||
|
Loading…
Reference in New Issue
Block a user