Skip to content

Commit

Permalink
Merge pull request #1030 from Carreau/tpl-log
Browse files Browse the repository at this point in the history
fix template path
  • Loading branch information
Carreau authored Nov 7, 2022
2 parents 385622d + 0a3603e commit df13998
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nbviewer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,9 @@ def static_paths(self):
def template_paths(self):
default_template_path = pjoin(here, "templates")
if self.template_path:
self.log.info("Using custom template path %()s", self.template_path)
self.log.info(
"Using custom template path %(path)s", {"path": self.template_path}
)
template_paths = [self.template_path, default_template_path]
else:
template_paths = [default_template_path]
Expand Down

0 comments on commit df13998

Please sign in to comment.