mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
webconfig: Don't allow exceptions from chromeos workaround
This except clause was too narrow, so it would fail here even on other systems just because webbrowser.get() returned nothing usable Now it will fail *later* with "could not locate runnable browser", but at least it won't say anything about chromeos on non-chromeos systems.
This commit is contained in:
parent
423e5f6c03
commit
0520b56ea9
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def is_chromeos_garcon():
|
|||
# https://source.chromium.org/search?q=garcon-url-handler
|
||||
try:
|
||||
return "garcon-url-handler" in webbrowser.get().name
|
||||
except AttributeError:
|
||||
except:
|
||||
return False
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue