From 7262c9f0eee28382a41282fc193c686a623bb593 Mon Sep 17 00:00:00 2001 From: Alex Bozarth Date: Wed, 6 Jan 2021 15:05:08 -0800 Subject: [PATCH] Flip default value for open_browser in extensions --- jupyter_server/extension/application.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jupyter_server/extension/application.py b/jupyter_server/extension/application.py index c1b15a53e3..3d56d31555 100644 --- a/jupyter_server/extension/application.py +++ b/jupyter_server/extension/application.py @@ -150,11 +150,11 @@ class method. This method can be set as a entry_point in # is launched directly (using its `launch_instance` method). serverapp_config = {} - # Some subclasses will likely ovrride this trait to flip - # the default value to True if they offer a browser + # Some subclasses will likely override this trait to flip + # the default value to False if they don't offer a browser # based frontend. open_browser = Bool( - False, + True, help="""Whether to open in a browser after starting. The specific browser used is platform dependent and determined by the python standard library `webbrowser` @@ -497,4 +497,4 @@ def launch_instance(cls, argv=None, **kwargs): "{ext_name} is running without loading " "other extensions.".format(ext_name=cls.name) ) - serverapp.start() \ No newline at end of file + serverapp.start()