Skip to content

Fix possible FileNotFoundError in Jupyter startup script#239

Merged
michaelnchin merged 1 commit intomainfrom
nbconfig-fix
Dec 13, 2021
Merged

Fix possible FileNotFoundError in Jupyter startup script#239
michaelnchin merged 1 commit intomainfrom
nbconfig-fix

Conversation

@michaelnchin
Copy link
Copy Markdown
Member

Issue #, if available: N/A

Description of changes:

  • Covered cases where the ~/.jupyter/nbconfig directory does not exist when attempting to launch with start_notebook.py. If missing, this directory tree will now be generated prior modifying/creating the notebook.json configuration file.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Copy Markdown
Contributor

@krlawrence krlawrence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michaelnchin michaelnchin merged commit 71bf9f0 into main Dec 13, 2021
@michaelnchin michaelnchin deleted the nbconfig-fix branch December 13, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants