write json files into the zip

This commit is contained in:
2014-10-31 17:45:32 +01:00
parent 9813a0430b
commit a0f65262e7
2 changed files with 27 additions and 1 deletions

View File

@@ -228,7 +228,9 @@ class FileAPI(Resource):
print(" Zip path:", filepath_zip)
try:
packer.pack(filepath.encode('utf-8'), filepath_zip[-1].encode('utf-8'), mode='ZIP')
packer.pack(filepath.encode('utf-8'), filepath_zip[-1].encode('utf-8'), mode='ZIP',
# TODO(cam) this just means the json is written in the zip
deps_remap={}, paths_remap={})
return filepath_zip[-1]
except:
import traceback