summaryrefslogtreecommitdiffstats
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 52542893..b562ab3 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -17,7 +17,7 @@ def register(name, klass, instance=None):
def get(using=None):
"""Return a browser launcher instance appropriate for the environment."""
- if using:
+ if using is not None:
alternatives = [using]
else:
alternatives = _tryorder