Commit bf2eea17 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update views/tex2pdf.html to fix a bug

parent 258f5622
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
cwd = os.getcwd() cwd = os.getcwd()
os.chdir('/tmp') os.chdir('/tmp')
fi = open(ftex, 'w') with open(ftex, 'bw') as fi:
fi.write(response.body.getvalue()) fi.write(response.body.getvalue().encode())
fi.close() pass
# #
# convert the latex file into pdf # convert the latex file into pdf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment