From a0712b04e1e251ac075edd5afea7c91b34b5f28c Mon Sep 17 00:00:00 2001 From: llama <100429699+iamllama@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:15:05 +0800 Subject: [PATCH] Split off path into its own arg (#3641) --- qt/aqt/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/utils.py b/qt/aqt/utils.py index 23266ebaf..c53993372 100644 --- a/qt/aqt/utils.py +++ b/qt/aqt/utils.py @@ -959,7 +959,7 @@ def _show_in_folder_win32(path: str) -> None: win32gui.ShowWindow(hwnd, win32con.SW_RESTORE) 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)