From 96ff90220a04e30d0c31a31a05eb41ac2da9dd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Tue, 24 Aug 2021 18:12:26 +0200 Subject: [PATCH] Set notebook namespace to None if empty --- .jupyter/jupyterhub_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.jupyter/jupyterhub_config.py b/.jupyter/jupyterhub_config.py index 5d885d7..8f44cf2 100644 --- a/.jupyter/jupyterhub_config.py +++ b/.jupyter/jupyterhub_config.py @@ -10,6 +10,8 @@ c.JupyterHub.cleanup_servers = False custom_notebook_namespace = os.environ.get('NOTEBOOK_NAMESPACE') +if not custom_notebook_namespace: + custom_notebook_namespace = None; import uuid jsp_api_dict = {