Commit e887e1be authored by Maxime Bombar's avatar Maxime Bombar

[notif-users] Fix path of jinja template

parent 3d52d9ac
......@@ -35,7 +35,7 @@ ENV = Environment(loader=FileSystemLoader('.'))
def notif_end_adhesion(api_client):
asso_options = api_client.view("preferences/assooption/")
general_options = api_client.view("preferences/generaloption/")
template = ENV.get_template(path + "/templates/email_fin_adhesion")
template = ENV.get_template("/templates/email_fin_adhesion")
for result in api_client.list("reminder/get-users"):
for user in result["users_to_remind"]:
......
re2oapi @ 0dd459e3
Subproject commit c3277c2e6eb3a85e8580c906266cad46c4043677
Subproject commit 0dd459e3ec11e8a5b80212fb524540a7161e2e0d
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment