From 2500f0bd6662492cafa66e5ff5850a74d45ce07d 2013-07-24 17:07:19 From: Jonathan Frederic Date: 2013-07-24 17:07:19 Subject: [PATCH] s/templat_paths/templat_path --- diff --git a/IPython/nbconvert/exporters/exporter.py b/IPython/nbconvert/exporters/exporter.py index 74786b5..921312a 100755 --- a/IPython/nbconvert/exporters/exporter.py +++ b/IPython/nbconvert/exporters/exporter.py @@ -102,7 +102,7 @@ class Exporter(Configurable): help="Extension of the file that should be written to disk" ) - template_paths = List(['.'], config=True) + template_path = List(['.'], config=True) default_template_path = Unicode( os.path.join("..", "templates"), @@ -337,7 +337,7 @@ class Exporter(Configurable): if extra_loaders: loaders.extend(extra_loaders) - paths = self.template_paths + paths = self.template_path paths.extend([os.path.join(here, self.default_template_path), os.path.join(here, self.template_skeleton_path)]) loaders.append(FileSystemLoader(paths))