lpcmanager

bd67abf4220c
Parents 9d2ddec22c98
Children 64c26e46c131
Edit zip function to use compression algorithm.
--- a/LPCManager.py Thu Oct 13 10:04:52 2016 +0200
+++ b/LPCManager.py Fri Oct 21 08:37:14 2016 +0200
@@ -473,8 +473,7 @@
# MD5 = self.GetLastBuildMD5()
try:
path_export_file = self.BuildPath[:-5] + "\\" + self._builder.exe[:-3] + ".xEye"
- zf = zipfile.ZipFile(path_export_file, mode='w')
-
+ zf = zipfile.ZipFile(path_export_file, mode='w', compression=zipfile.ZIP_DEFLATED)
for extrafilespath in [self._getExtraFilesPath(),
self._getProjectFilesPath()]:
dir = extrafilespath.split("\\")[-1]