Fixes a fatal bug when the module has computed alternatives containing %s.

This commit is contained in:
Eric S. Raymond 2001-03-31 01:50:52 +00:00
parent a42c8271ab
commit f7eb4faf38
1 changed files with 1 additions and 1 deletions

View File

@ -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()]