From 3948dc21400e77b7fa3ca1f81a4b923c39344da0 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 29 Aug 2021 08:17:12 +0200 Subject: [PATCH] Fix: abs_notification --- app/scodoc/sco_abs_notification.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/scodoc/sco_abs_notification.py b/app/scodoc/sco_abs_notification.py index 5ac4315ef..23cc49044 100644 --- a/app/scodoc/sco_abs_notification.py +++ b/app/scodoc/sco_abs_notification.py @@ -113,7 +113,13 @@ def abs_notify_send(destinations, etudid, msg, nbabs, nbabsjust, formsemestre_id (etudid, email, nbabs, nbabsjust, formsemestre_id) VALUES (%(etudid)s, %(email)s, %(nbabs)s, %(nbabsjust)s, %(formsemestre_id)s) """, - vars(), + { + "etudid": etudid, + "email": dest_addr, + "nbabs": nbabs, + "nbabsjust": nbabsjust, + "formsemestre_id": formsemestre_id, + }, cursor=cursor, )