From bf2b32b07b3db8fed13011cfd9b5e0ed4d66c2ad Mon Sep 17 00:00:00 2001 From: Andrew Pikul Date: Fri, 27 Sep 2024 17:52:04 -0400 Subject: [PATCH] Fix egregious variable swap --- devtools/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/system.py b/devtools/system.py index 2c035db6..2efbd261 100644 --- a/devtools/system.py +++ b/devtools/system.py @@ -77,6 +77,6 @@ def which_browser(executable_name=chrome, debug=False): for candidate in default_path: if debug: print(f"Looking at {candidate}", file=sys.stderr) if _is_exe(candidate): - return default_path + return candidate if debug: print("Found nothing...") return None