We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c67bb1 + 9775af7 commit 806904cCopy full SHA for 806904c
notebook/auth/security.py
@@ -120,6 +120,8 @@ def persist_config(config_file=None, mode=0o600):
120
if config_file is None:
121
config_file = os.path.join(jupyter_config_dir(), 'jupyter_notebook_config.json')
122
123
+ os.makedirs(os.path.dirname(config_file), exist_ok=True)
124
+
125
loader = JSONFileConfigLoader(os.path.basename(config_file), os.path.dirname(config_file))
126
try:
127
config = loader.load_config()
0 commit comments