From d371d14abd892ede094d9d349c3cfa4f351a4337 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 15 Sep 2022 00:01:39 +0200 Subject: [PATCH] =?UTF-8?q?WIP:=20contr=C3=B4le=20cotisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controle_cotisation/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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