don't need to encode file path, just the name

This commit is contained in:
Rob Weber 2014-08-04 20:14:49 -05:00
parent d69a1b2d27
commit 38cc67a54d

View File

@ -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):