Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
fix an issue with a parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Aug 30, 2016
1 parent 5cfee25 commit d778443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyquickhelper/helpgen/process_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _process_notebooks_in_private_cmd(fnbcexe, list_args, options_args, fLOG):
sargs = " ".join(res)
cmd = '"{0}" "{1}" {2}'.format(sys.executable, this, sargs)
fLOG(" ", cmd)
return run_cmd(cmd, wait=True)
return run_cmd(cmd, wait=True, fLOG=fLOG)


def _process_notebooks_in(notebooks, outfold, build, latex_path=None, pandoc_path=None,
Expand Down Expand Up @@ -315,7 +315,7 @@ def _process_notebooks_in(notebooks, outfold, build, latex_path=None, pandoc_pat
# docutils if format is slides, not sure about the others
if nbconvert_main != fnbcexe or format not in {"slides"}:
out, err = _process_notebooks_in_private(
fnbcexe, list_args, options_args, fLOG=fLOG)
fnbcexe, list_args, options_args)
else:
# conversion into slides alter Jinja2 environment
# jinja2.exceptions.TemplateNotFound: rst
Expand Down

0 comments on commit d778443

Please sign in to comment.