allows to use local template

This commit is contained in:
Benjamin Bertrand 2016-11-22 14:39:02 +03:00
parent a2c8e67ccd
commit 312de64750

View File

@ -16,7 +16,9 @@ texenv = jinja2.Environment(
comment_end_string = '}', comment_end_string = '}',
line_statement_prefix = '%-', line_statement_prefix = '%-',
line_comment_prefix = '%#', line_comment_prefix = '%#',
loader = jinja2.PackageLoader("notes_tools.generate_bilan", "templates"), loader = jinja2.ChoiceLoader([jinja2.PackageLoader("notes_tools.generate_bilan", "templates"),
jinja2.FileSystemLoader(['./']),
]),
extensions = ['jinja2.ext.do'] extensions = ['jinja2.ext.do']
) )