From e67647c4c20de9794409d45dbce53944fef1441f Mon Sep 17 00:00:00 2001 From: 0mar Date: Fri, 9 Apr 2021 13:17:56 +0200 Subject: [PATCH] Added todo --- jupyterhub/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jupyterhub/app.py b/jupyterhub/app.py index 5f7a59d5..f4f7440d 100644 --- a/jupyterhub/app.py +++ b/jupyterhub/app.py @@ -1943,6 +1943,7 @@ class JupyterHub(Application): db.commit() self.log.info("Adding API token for %s: %s", kind, name) # If we have roles in the configuration file, they will be added later + # Todo: works but ugly config_roles = None for config_role in self.load_roles: if 'tokens' in config_role and token in config_role['tokens']: