mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix latex check
This commit is contained in:
parent
1cebe4ee48
commit
85665bc18d
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ def test_latex():
|
|||
assert "installed" in msg
|
||||
# check if we have latex installed, and abort test if we don't
|
||||
if not shutil.which("latex") or not shutil.which("dvipng"):
|
||||
print("aborting test; %s is not installed" % cmd)
|
||||
print("aborting test; latex or dvipng is not installed")
|
||||
return
|
||||
# fix path
|
||||
anki.latex.latexCmds[0][0] = "latex"
|
||||
|
|
Loading…
Reference in a new issue