diff --git a/controle_cotisation/main.py b/controle_cotisation/main.py index 0c26abf..28c354b 100755 --- a/controle_cotisation/main.py +++ b/controle_cotisation/main.py @@ -206,7 +206,7 @@ def notify_unpaid(member): amount = gestion_get_amount(member) print(amount) - BUF.append("* {} (numero {}), {}".format(member, numero, name)) + BUF.append("* {} (numero {}), {}, {}".format(member, numero, name, amount)) BUF.append(" NOTIFICATION MEMBRE") BUF.append("") return True @@ -216,9 +216,8 @@ def renotify_unpaid(member): # Get member infos name, numero, email = get_member_infos(member) amount = gestion_get_amount(member) - print(amount) - BUF.append("* {} (numero {}), {}".format(member, numero, name)) + BUF.append("* {} (numero {}), {}, {}".format(member, numero, name, amount)) BUF.append(" RENOTIFICATION MEMBRE") BUF.append("") pass