fix: templates path

This commit is contained in:
Alice 2023-09-03 13:01:56 +02:00
parent 04731215f5
commit 0e27d82e27

View file

@ -30,10 +30,10 @@ filtres_jinja = {
class GenerateurComm:
def __init__(self):
self.env_jinja = Environment(loader=FileSystemLoader('../templates'))
self.env_jinja = Environment(loader=FileSystemLoader('templates'))
self.env_jinja.filters.update(filtres_jinja)
self.latex_env_jinja = Environment(loader=FileSystemLoader('../templates'), **latex_jinja_env_params)
self.latex_env_jinja = Environment(loader=FileSystemLoader('templates'), **latex_jinja_env_params)
self.latex_env_jinja.filters.update(filtres_jinja)
def build_com(self, film, nom_template, latex=False):