allows to use local template
This commit is contained in:
parent
a2c8e67ccd
commit
312de64750
@ -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']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user