mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 22:15:23 +01:00
try and encode filenames before writing to zip
This commit is contained in:
parent
a1c91ef51c
commit
d7a0e622be
@ -94,7 +94,7 @@ class ZipFileSystem(Vfs):
|
||||
return False
|
||||
|
||||
def put(self,source,dest):
|
||||
self.zip.write(source,dest,compress_type=zipfile.ZIP_DEFLATED)
|
||||
self.zip.write(utils.encode(source),utils.encode(dest),compress_type=zipfile.ZIP_DEFLATED)
|
||||
return True
|
||||
|
||||
def rmdir(self,directory):
|
||||
|
Loading…
Reference in New Issue
Block a user