From af8d6086fcb1fff5b4d3f30bdb70a1a79d29809d Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 27 Aug 2018 16:18:53 +0200 Subject: [PATCH] disable quit button quit button (new in recent notebook 5.x) shuts down the server, which we want to happen via the JupyterHub control panel --- jupyterhub/singleuser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jupyterhub/singleuser.py b/jupyterhub/singleuser.py index 468c35da..9a108341 100755 --- a/jupyterhub/singleuser.py +++ b/jupyterhub/singleuser.py @@ -298,6 +298,7 @@ class SingleUserNotebookApp(NotebookApp): # disble some single-user configurables token = '' open_browser = False + quit_button = False trust_xheaders = True login_handler_class = JupyterHubLoginHandler logout_handler_class = JupyterHubLogoutHandler