openmedialibrary_reader/pdf.js/minify.py
2015-03-08 01:11:19 +05:30

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()))