mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix opening of explorer folders on windows
This commit is contained in:
parent
b56ca60d2f
commit
9c04ac6a8e
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ def getBase(col):
|
|||
|
||||
def openFolder(path):
|
||||
if isWin:
|
||||
subprocess.Popen(["explorer", path])
|
||||
subprocess.Popen(["explorer", "file://"+path])
|
||||
else:
|
||||
oldlpath = os.environ.pop("LD_LIBRARY_PATH", None)
|
||||
QDesktopServices.openUrl(QUrl("file://" + path))
|
||||
|
|
Loading…
Reference in a new issue