##// END OF EJS Templates
Use _default method instead of redefining trait
Thomas Kluyver -
Show More
@@ -46,9 +46,8 b' class LatexExporter(TemplateExporter):'
46 46 def _default_template_path_default(self):
47 47 return os.path.join("..", "templates", "latex")
48 48
49 template_skeleton_path = Unicode(
50 os.path.join("..", "templates", "latex", "skeleton"), config=True,
51 help="Path where the template skeleton files are located.")
49 def _template_skeleton_path_default(self):
50 return os.path.join("..", "templates", "latex", "skeleton")
52 51
53 52 #Special Jinja2 syntax that will not conflict when exporting latex.
54 53 jinja_comment_block_start = Unicode("((=", config=True)
General Comments 0
You need to be logged in to leave comments. Login now