pandora/static/pdf.js/minify.py

4 lines
103 B
Python
Raw Normal View History

2013-02-21 14:09:23 +00:00
import ox
import sys
with open(sys.argv[2], 'w') as f: f.write(ox.js.minify(open(sys.argv[1]).read()))