mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Split off path into its own arg (#3641)
This commit is contained in:
parent
65fd461ddc
commit
a0712b04e1
1 changed files with 1 additions and 1 deletions
|
@ -959,7 +959,7 @@ def _show_in_folder_win32(path: str) -> None:
|
||||||
win32gui.ShowWindow(hwnd, win32con.SW_RESTORE)
|
win32gui.ShowWindow(hwnd, win32con.SW_RESTORE)
|
||||||
win32gui.SetForegroundWindow(hwnd)
|
win32gui.SetForegroundWindow(hwnd)
|
||||||
|
|
||||||
subprocess.run(["explorer", f"/select,{path}"], check=False)
|
subprocess.run(["explorer", "/select,", path], check=False)
|
||||||
mw.progress.single_shot(500, focus_explorer)
|
mw.progress.single_shot(500, focus_explorer)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue