Skip to content

Commit 8e191e6

Browse files
committed
fix parentheses
1 parent 5926c67 commit 8e191e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/webbrowser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,12 +502,12 @@ def register_X_browsers():
502502
register("gvfs-open", None, BackgroundBrowser("gvfs-open", _supports_file=False))
503503

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

513513
# The default XFCE browser

0 commit comments

Comments
 (0)