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 fba8694 commit 8683061
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 @@ -25,6 +25,12 @@
pass


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


def _preparse_command_line(Application):
"""Looks for 'help', 'version', and 'generate-config; commands
in command line. If found, raises the help and version of
Expand Down

0 comments on commit 8683061

Please sign in to comment.