From 38cc67a54de22fdc7000ed43e56cc0b070b5f19a Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Mon, 4 Aug 2014 20:14:49 -0500 Subject: [PATCH] don't need to encode file path, just the name --- 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 19867e1..6b10b26 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(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 def rmdir(self,directory):