use python3 to update static files

This commit is contained in:
j 2014-09-30 23:21:44 +02:00
commit d78c30b163
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ ox.file.write_json('../json/js.json', files, indent=4)
ox.file.write_file(
'%soml.min.js' % path,
'\n'.join([
ox.js.minify(ox.file.read_file('%s%s' % (path, file)))
ox.js.minify(ox.file.read_file('%s%s' % (path, file)).decode('utf-8'))
for file in files
])
)