From d4398d3efed03e841f37f9cfdcb1ddc0945db96e Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 15 Sep 2022 00:03:16 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controle_cotisation/main.py b/controle_cotisation/main.py index 28c354b..81c23c8 100755 --- a/controle_cotisation/main.py +++ b/controle_cotisation/main.py @@ -164,7 +164,8 @@ def gestion_get_amount(member): "WHERE id_user = {};".format(member) - return gestion_read(request_unpaid)["results"][-1]["id_user"] + print(gestion_read(request_unpaid)) + return 20 def get_member_infos(member): request = "SELECT * FROM membres " +\