fix: templates path
This commit is contained in:
parent
04731215f5
commit
0e27d82e27
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue