Skip to content

Commit

Permalink
Fixed Windows browser name.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Dec 10, 2023
1 parent 7e7b7bf commit 09dfa6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalene/find_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
def find_browser() -> Optional[webbrowser.BaseBrowser]:
"""Find the default browser if possible and if compatible."""
# Names of known graphical browsers as per Python's webbrowser documentation
graphical_browsers = ["windows-default", "macosx", "safari", "google-chrome",
graphical_browsers = ["windowsdefault", "macosx", "safari", "google-chrome",
"chrome", "chromium", "firefox", "opera", "edge", "mozilla", "netscape"]
try:
# Get the default browser object
Expand Down

0 comments on commit 09dfa6c

Please sign in to comment.