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()