mirror of https://github.com/python/cpython
Fixes a fatal bug when the module has computed alternatives containing %s.
This commit is contained in:
parent
a42c8271ab
commit
f7eb4faf38
|
@ -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()]
|
||||
|
|
Loading…
Reference in New Issue