add wait kwarg to call()

This commit is contained in:
Damien Elmes 2009-03-15 06:35:56 +09:00
parent 60c7afd5aa
commit 0abe7f1de2

View file

@ -1996,7 +1996,8 @@ it to your friends.
if sys.platform == "win32":
# reuse our process handling code from latex
anki.latex.call(["explorer", path.encode(
sys.getfilesystemencoding())])
sys.getfilesystemencoding())],
wait=False)
else:
QDesktopServices.openUrl(QUrl("file://" + path))