diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-31 01:50:52 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-31 01:50:52 (GMT) |
commit | f7eb4faf38fc9e4a215acae3323140b99cdce08f (patch) | |
tree | e571165f5adac009140df1256e91c26e88fb0041 /Lib/webbrowser.py | |
parent | a42c8271abfcef7c7bb2d16b2096188976ef9c62 (diff) | |
download | cpython-f7eb4faf38fc9e4a215acae3323140b99cdce08f.zip cpython-f7eb4faf38fc9e4a215acae3323140b99cdce08f.tar.gz cpython-f7eb4faf38fc9e4a215acae3323140b99cdce08f.tar.bz2 |
Fixes a fatal bug when the module has computed alternatives containing %s.
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r-- | Lib/webbrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ def get(using=None): 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()] |