mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Add a break statement, just in case.
This commit is contained in:
parent
a50136709f
commit
aee8542ec0
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ def makeBrowserCommand(browser):
|
|||
if (name and name.find(key) > -1) or path.find(key) > -1:
|
||||
command = types[key](browser)
|
||||
command.name = command.name or key
|
||||
break
|
||||
|
||||
if command is None:
|
||||
raise Exception("Unrecognized browser: %s" % browser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue