From f7eb4faf38fc9e4a215acae3323140b99cdce08f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 31 Mar 2001 01:50:52 +0000 Subject: Fixes a fatal bug when the module has computed alternatives containing %s. --- Lib/webbrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()] -- cgit v0.12