make sure latex.py works indepent of gui

This commit is contained in:
Damien Elmes 2011-01-26 15:06:51 +09:00
parent 942307190e
commit be8eec52bc

View file

@ -12,6 +12,7 @@ import re, tempfile, os, sys, shutil, cgi, subprocess
from anki.utils import genID, checksum, call
from anki.hooks import addHook
from htmlentitydefs import entitydefs
from anki.lang import _
latexDviPngCmd = ["dvipng", "-D", "200", "-T", "tight"]