commit | f7eb4faf38fc9e4a215acae3323140b99cdce08f | [log] [tgz] |
---|---|---|
author | Eric S. Raymond <esr@thyrsus.com> | Sat Mar 31 01:50:52 2001 +0000 |
committer | Eric S. Raymond <esr@thyrsus.com> | Sat Mar 31 01:50:52 2001 +0000 |
tree | e571165f5adac009140df1256e91c26e88fb0041 | |
parent | a42c8271abfcef7c7bb2d16b2096188976ef9c62 [diff] |
Fixes a fatal bug when the module has computed alternatives containing %s.
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index ebafd80..d882e7f 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py
@@ -24,7 +24,7 @@ for browser in alternatives: if browser.find('%s') > -1: # User gave us a command line, don't mess with it. - return browser + return GenericBrowser(browser) else: # User gave us a browser name. command = _browsers[browser.lower()]