diff --git a/controle_cotisation/main.py b/controle_cotisation/main.py index 6415503..b74759a 100755 --- a/controle_cotisation/main.py +++ b/controle_cotisation/main.py @@ -219,7 +219,7 @@ def notify_unpaid(member): name, numero, email = get_member_infos(member) amount = "{},{}".format(str(gestion_get_amount(member))[:-2], str(gestion_get_amount(member))[-2:]) - year = gestion_get_year(member)[:4] + year = gestion_get_date(member)[:4] BUF.append("* {} (numero {}), {}, {} €".format(member, numero, name, amount)) BUF.append(" NOTIFICATION MEMBRE") @@ -241,7 +241,7 @@ def renotify_unpaid(member): name, numero, email = get_member_infos(member) amount = "{},{}".format(str(gestion_get_amount(member))[:-2], str(gestion_get_amount(member))[-2:]) - year = gestion_get_year(member)[:4] + year = gestion_get_date(member)[:4] BUF.append("* {} (numero {}), {}, {} €".format(member, numero, name, amount)) BUF.append(" NOTIFICATION MEMBRE")