diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-06-19 20:16:13 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-06-19 20:16:13 -0400 |
commit | 4b5211c8826dbe041ce70bca0e9461e6503172f3 (patch) | |
tree | c8a0364a2a442f11091da83b115663ea5c35659e /tools/file_packager.py | |
parent | df16a752c4cc580891aecdd4387c11e1b1f7443f (diff) |
Only pull CRUNCH from shared.py if --crunch is used
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r-- | tools/file_packager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py index 812def9b..8e9a85cd 100644 --- a/tools/file_packager.py +++ b/tools/file_packager.py @@ -27,7 +27,7 @@ TODO: You can also provide .crn files yourself, pre-crunched. With this o import os, sys, shutil -from shared import Compression, execute, suffix, unsuffixed, CRUNCH +from shared import Compression, execute, suffix, unsuffixed import shared from subprocess import Popen, PIPE, STDOUT @@ -70,6 +70,7 @@ for arg in sys.argv[1:]: in_embed = False in_compress = 0 elif arg.startswith('--crunch'): + from shared import CRUNCH crunch = arg.split('=')[1] if '=' in arg else '128' in_preload = False in_embed = False |