From d7a0e622be44c868c5357fe6e3417397704fe71e Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Mon, 4 Aug 2014 15:40:14 -0500 Subject: [PATCH] try and encode filenames before writing to zip --- resources/lib/vfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/vfs.py b/resources/lib/vfs.py index 1234622..19867e1 100644 --- a/resources/lib/vfs.py +++ b/resources/lib/vfs.py @@ -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):