Skip to content

Commit 7262c9f

Browse files
committed
Flip default value for open_browser in extensions
1 parent ec6217e commit 7262c9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jupyter_server/extension/application.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ class method. This method can be set as a entry_point in
150150
# is launched directly (using its `launch_instance` method).
151151
serverapp_config = {}
152152

153-
# Some subclasses will likely ovrride this trait to flip
154-
# the default value to True if they offer a browser
153+
# Some subclasses will likely override this trait to flip
154+
# the default value to False if they don't offer a browser
155155
# based frontend.
156156
open_browser = Bool(
157-
False,
157+
True,
158158
help="""Whether to open in a browser after starting.
159159
The specific browser used is platform dependent and
160160
determined by the python standard library `webbrowser`
@@ -497,4 +497,4 @@ def launch_instance(cls, argv=None, **kwargs):
497497
"{ext_name} is running without loading "
498498
"other extensions.".format(ext_name=cls.name)
499499
)
500-
serverapp.start()
500+
serverapp.start()

0 commit comments

Comments
 (0)