Skip to content

Commit

Permalink
Update myst_nb/parser.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Chris Holdgraf <[email protected]>
  • Loading branch information
chrisjsewell and choldgraf authored Apr 1, 2020
1 parent 18288f6 commit 11b7326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myst_nb/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def parse(self, inputstring: str, document: nodes.document):
return

# add outputs to notebook from the cache
if document.settings.env.config["jupyter_execute_notebooks"] != "off":
if self.env.config["jupyter_execute_notebooks"] != "off":
ntbk = add_notebook_outputs(self.env, ntbk)

# Parse the notebook content to a list of syntax tokens and an env
Expand Down

0 comments on commit 11b7326

Please sign in to comment.