summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r--Lib/webbrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index cb9dbb3..f8b41e5 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -22,7 +22,7 @@ def get(using=None):
else:
alternatives = _tryorder
for browser in alternatives:
- if browser.find('%s') > -1:
+ if '%s' in browser:
# User gave us a command line, don't mess with it.
return GenericBrowser(browser)
else: