diff options
Diffstat (limited to 'minify_web_js.py')
-rwxr-xr-x | minify_web_js.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/minify_web_js.py b/minify_web_js.py index 4d65c197b..94c39d7c8 100755 --- a/minify_web_js.py +++ b/minify_web_js.py @@ -57,7 +57,10 @@ if module_exists('closure'): elif module_exists('slimit'): from slimit import minify else: - raise ImportError('Requires "slimit" package for minifying WebUI files.') + print('WARNING: Unable to minify js files. They will be copied as is.') + + def minify(text): + return text def source_files_list(source_dir): |