diff --git a/notes_tools/generate_bilan/texenv.py b/notes_tools/generate_bilan/texenv.py index 69195a5..ff103d3 100644 --- a/notes_tools/generate_bilan/texenv.py +++ b/notes_tools/generate_bilan/texenv.py @@ -16,7 +16,9 @@ texenv = jinja2.Environment( comment_end_string = '}', line_statement_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'] )