Skip to content

Commit df13998

Browse files
authored
Merge pull request #1030 from Carreau/tpl-log
fix template path
2 parents 385622d + 0a3603e commit df13998

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nbviewer/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,9 @@ def static_paths(self):
577577
def template_paths(self):
578578
default_template_path = pjoin(here, "templates")
579579
if self.template_path:
580-
self.log.info("Using custom template path %()s", self.template_path)
580+
self.log.info(
581+
"Using custom template path %(path)s", {"path": self.template_path}
582+
)
581583
template_paths = [self.template_path, default_template_path]
582584
else:
583585
template_paths = [default_template_path]

0 commit comments

Comments
 (0)