Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix parentheses
  • Loading branch information
minrk committed Feb 27, 2025
commit 8e191e6560f24e9c14a2341d9608e9dffc72d8ff
4 changes: 2 additions & 2 deletions Lib/webbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,12 +502,12 @@ def register_X_browsers():
register("gvfs-open", None, BackgroundBrowser("gvfs-open", _supports_file=False))

# The default KDE browser
if (("KDE" in xdg_desktop or
if ("KDE" in xdg_desktop or
"KDE_FULL_SESSION" in os.environ):
if shutil.which("kioclient"):
# launch URL with http[s] handler
register("kioclient", None, BackgroundBrowser(["kioclient", "exec", "%s", "x-scheme-handler/https"]))
if shutil.which("kfmclient")):
if shutil.which("kfmclient"):
register("kfmclient", Konqueror, Konqueror("kfmclient"))

# The default XFCE browser
Expand Down