Skip to content

Commit

Permalink
Fix egregious variable swap
Browse files Browse the repository at this point in the history
  • Loading branch information
ayjayt committed Sep 27, 2024
1 parent b641eda commit bf2b32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bf2b32b

Please sign in to comment.