pandora/static/pdf.js/minify.py
2013-02-21 14:09:23 +00:00

3 lines
103 B
Python

import ox
import sys
with open(sys.argv[2], 'w') as f: f.write(ox.js.minify(open(sys.argv[1]).read()))