summaryrefslogtreecommitdiff
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r--Lib/webbrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index 11c8301651..d05c18b451 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -313,7 +313,7 @@ if sys.platform[:3] == "os2" and _iscommand("netscape.exe"):
if os.environ.has_key("BROWSER"):
# It's the user's responsibility to register handlers for any unknown
# browser referenced by this value, before calling open().
- _tryorder = os.environ["BROWSER"].split(":")
+ _tryorder = os.environ["BROWSER"].split(os.pathsep)
for cmd in _tryorder:
if not _browsers.has_key(cmd.lower()):