diff --git a/gestion/mail/mail.py b/gestion/mail/mail.py index 64fcdc24..cc2a3be7 100644 --- a/gestion/mail/mail.py +++ b/gestion/mail/mail.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python # -*- coding: utf-8 -*- import os @@ -22,7 +21,7 @@ from gestion.email_tools import format_sender from gestion import secrets_new as secrets default_language = 'fr' -template_path = '/usr/scripts/gestion/mail/template/' +template_path = os.path.join(os.path.dirname(__file__), 'template') + '/' html_template = template_path + 'html' html_mutilang_template = template_path + 'html_multilang' text_mutilang_template = template_path + 'text_multilang'