diff options
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r-- | Lib/webbrowser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index e21d182..b589d91 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -96,7 +96,7 @@ def _synthesize(browser, update_tryorder=1): if sys.platform[:3] == "win": def _isexecutable(cmd): cmd = cmd.lower() - if os.path.isfile(cmd) and (cmd.endswith(".exe") or + if os.path.isfile(cmd) and (cmd.endswith(".exe") or cmd.endswith(".bat")): return True for ext in ".exe", ".bat": @@ -134,7 +134,7 @@ class BaseBrowser(object): def __init__(self, name=""): self.name = name self.basename = name - + def open(self, url, new=0, autoraise=1): raise NotImplementedError |