mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
add wait kwarg to call()
This commit is contained in:
parent
60c7afd5aa
commit
0abe7f1de2
1 changed files with 2 additions and 1 deletions
|
@ -1996,7 +1996,8 @@ it to your friends.
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
# reuse our process handling code from latex
|
# reuse our process handling code from latex
|
||||||
anki.latex.call(["explorer", path.encode(
|
anki.latex.call(["explorer", path.encode(
|
||||||
sys.getfilesystemencoding())])
|
sys.getfilesystemencoding())],
|
||||||
|
wait=False)
|
||||||
else:
|
else:
|
||||||
QDesktopServices.openUrl(QUrl("file://" + path))
|
QDesktopServices.openUrl(QUrl("file://" + path))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue