diff --git a/anki/latex.py b/anki/latex.py index ac8c4b31b..01aa718b7 100644 --- a/anki/latex.py +++ b/anki/latex.py @@ -57,9 +57,9 @@ def stripLatex(text): text = text.replace(match.group(), "") return text -def call(*args, wait=True, **kwargs): +def call(argv, wait=True, **kwargs): try: - o = subprocess.Popen(*args, **kwargs) + o = subprocess.Popen(argv, **kwargs) except OSError: # command not found return -1