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:
|
for browser in alternatives:
|
||||||
if browser.find('%s') > -1:
|
if browser.find('%s') > -1:
|
||||||
# User gave us a command line, don't mess with it.
|
# User gave us a command line, don't mess with it.
|
||||||
return browser
|
return GenericBrowser(browser)
|
||||||
else:
|
else:
|
||||||
# User gave us a browser name.
|
# User gave us a browser name.
|
||||||
command = _browsers[browser.lower()]
|
command = _browsers[browser.lower()]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user