Skip to content

Commit

Permalink
add no-browser flag to ExtensionApp
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer committed Dec 11, 2019
1 parent eb7e5c9 commit e0fdaf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jupyter_server/extension/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ def _preparse_for_stopping_flags(Application, argv):
app.exit(0)


flags['no-browser']=(
{'ExtensionApp' : {'open_browser' : True}},
_("Prevent the opening of the default url in the browser.")
)


class ExtensionApp(JupyterApp):
"""Base class for configurable Jupyter Server Extension Applications.
Expand Down

0 comments on commit e0fdaf4

Please sign in to comment.