From 829d5d8b2e590cb01e27f07c91028aeab1efaaf5 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 8 Sep 2021 23:10:28 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20ajout=20semestre=20=C3=A0=20semset=20(ex?= =?UTF-8?q?ports=20apog=C3=A9e)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_semset.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_semset.py b/app/scodoc/sco_semset.py index b6d3abc2..1f35afae 100644 --- a/app/scodoc/sco_semset.py +++ b/app/scodoc/sco_semset.py @@ -158,11 +158,10 @@ class SemSet(dict): ndb.SimpleQuery( """INSERT INTO notes_semset_formsemestre - (dept_id, id, semset_id) - VALUES (%(dept_id)s, %(formsemestre_id)s, %(semset_id)s) + (id, semset_id) + VALUES (%(formsemestre_id)s, %(semset_id)s) """, { - "dept_id": g.scodoc_dept_id, "formsemestre_id": formsemestre_id, "semset_id": self.semset_id, },