##// END OF EJS Templates
s/templat_paths/templat_path
Jonathan Frederic -
Show More
@@ -102,7 +102,7 b' class Exporter(Configurable):'
102 help="Extension of the file that should be written to disk"
102 help="Extension of the file that should be written to disk"
103 )
103 )
104
104
105 template_paths = List(['.'], config=True)
105 template_path = List(['.'], config=True)
106
106
107 default_template_path = Unicode(
107 default_template_path = Unicode(
108 os.path.join("..", "templates"),
108 os.path.join("..", "templates"),
@@ -337,7 +337,7 b' class Exporter(Configurable):'
337 if extra_loaders:
337 if extra_loaders:
338 loaders.extend(extra_loaders)
338 loaders.extend(extra_loaders)
339
339
340 paths = self.template_paths
340 paths = self.template_path
341 paths.extend([os.path.join(here, self.default_template_path),
341 paths.extend([os.path.join(here, self.default_template_path),
342 os.path.join(here, self.template_skeleton_path)])
342 os.path.join(here, self.template_skeleton_path)])
343 loaders.append(FileSystemLoader(paths))
343 loaders.append(FileSystemLoader(paths))
General Comments 0
You need to be logged in to leave comments. Login now