From 8072733c7f4c2424d5ea4265e8aae28811608c89 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 2 Jul 2009 23:17:30 +0000 Subject: [PATCH] compress level --- direct/src/plugin/make_package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/direct/src/plugin/make_package.py b/direct/src/plugin/make_package.py index c35ae668e9..693e5da29e 100755 --- a/direct/src/plugin/make_package.py +++ b/direct/src/plugin/make_package.py @@ -101,7 +101,8 @@ class PackageMaker: source = open(uncompressedArchivePathname.toOsSpecific(), 'rb') target = open(compressedArchivePathname.toOsSpecific(), 'wb') - z = zlib.compressobj(9) + #z = zlib.compressobj(9) # Temporary. + z = zlib.compressobj(1) data = source.read(4096) while data: target.write(z.compress(data))