##// END OF EJS Templates
autoreformat with darker
Matthias Bussonnier -
Show More
@@ -143,7 +143,7 b" def latex_to_png_dvipng(s, wrap, color='Black', scale=1.0):"
143 dvifile = workdir.joinpath("tmp.dvi")
143 dvifile = workdir.joinpath("tmp.dvi")
144 outfile = workdir.joinpath("tmp.png")
144 outfile = workdir.joinpath("tmp.png")
145
145
146 with tmpfile.open("w", encoding='utf8') as f:
146 with tmpfile.open("w", encoding="utf8") as f:
147 f.writelines(genelatex(s, wrap))
147 f.writelines(genelatex(s, wrap))
148
148
149 with open(os.devnull, 'wb') as devnull:
149 with open(os.devnull, 'wb') as devnull:
General Comments 0
You need to be logged in to leave comments. Login now