Show More
@@ -160,12 +160,11 b" def latex_to_png_dvipng(s, wrap, color='Black', scale=1.0):" | |||
|
160 | 160 | with workdir.joinpath(tmpfile).open("w", encoding="utf8") as f: |
|
161 | 161 | f.writelines(genelatex(s, wrap)) |
|
162 | 162 | |
|
163 | with open(os.devnull, 'wb') as devnull: | |
|
164 | 163 |
|
|
165 | 164 |
|
|
166 | 165 |
|
|
167 |
|
|
|
168 |
|
|
|
166 | stdout=subprocess.DEVNULL, | |
|
167 | stderr=subprocess.DEVNULL, | |
|
169 | 168 |
|
|
170 | 169 |
|
|
171 | 170 | |
@@ -188,8 +187,8 b" def latex_to_png_dvipng(s, wrap, color='Black', scale=1.0):" | |||
|
188 | 187 |
|
|
189 | 188 |
|
|
190 | 189 |
|
|
191 |
|
|
|
192 |
|
|
|
190 | stdout=subprocess.DEVNULL, | |
|
191 | stderr=subprocess.DEVNULL, | |
|
193 | 192 |
|
|
194 | 193 |
|
|
195 | 194 |
General Comments 0
You need to be logged in to leave comments.
Login now