mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix latex generation caused by bug in patch
This commit is contained in:
parent
85488afb8f
commit
8cdfce4dd8
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ package in the LaTeX header instead.""") % bad
|
|||
png = namedtmp("tmp.png")
|
||||
try:
|
||||
# generate png
|
||||
os.chdir(tmpdir())
|
||||
for latexCmd in latexCmds:
|
||||
if call(latexCmd, stdout=log, stderr=log):
|
||||
return _errMsg(latexCmd[0], texpath)
|
||||
|
|
Loading…
Reference in a new issue