From f2efbfe52ad015128f3f2a0a272693ebf61b63bd Mon Sep 17 00:00:00 2001 From: Michel Date: Sat, 19 Apr 2025 10:47:41 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20Test=20dans=20la=20boucle=20de=20r?= =?UTF-8?q?=C3=A9solutions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Monitor.py b/Monitor.py index 471f43c..60d51e4 100644 --- a/Monitor.py +++ b/Monitor.py @@ -105,7 +105,7 @@ def surveiller(): cursor.execute(f""" UPDATE {table_alertes} SET Status = 'Acquitté' - WHERE Sonde = %s AND Status = 'En cours' + WHERE Sonde = %s AND Status IN ('En cours', 'Test') """, (nom_sonde,)) conn.commit()