mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
fix call()
This commit is contained in:
parent
64275642ba
commit
66cda18a69
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue