From: Eric S. Raymond Date: Sat, 31 Mar 2001 01:50:52 +0000 (+0000) Subject: Fixes a fatal bug when the module has computed alternatives containing %s. X-Git-Tag: v2.1c1~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7eb4faf38fc9e4a215acae3323140b99cdce08f;p=python Fixes a fatal bug when the module has computed alternatives containing %s. --- diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index ebafd80ba0..d882e7f230 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()]