We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b43fa7 + 920b5f6 commit a6a5d10Copy full SHA for a6a5d10
jupyter_server/auth/security.py
@@ -143,6 +143,8 @@ def persist_config(config_file=None, mode=0o600):
143
if config_file is None:
144
config_file = os.path.join(jupyter_config_dir(), 'jupyter_server_config.json')
145
146
+ os.makedirs(os.path.dirname(config_file), exist_ok=True)
147
+
148
loader = JSONFileConfigLoader(os.path.basename(config_file), os.path.dirname(config_file))
149
try:
150
config = loader.load_config()
0 commit comments