From 1064818b1642898144e309d37ab05e7b2d1afc79 Mon Sep 17 00:00:00 2001 From: MikaKerman Date: Sun, 20 Oct 2024 11:25:20 +0300 Subject: [PATCH] fixed model error icon in teams --- .../monitor/data_monitoring/alerts/integrations/teams/teams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elementary/monitor/data_monitoring/alerts/integrations/teams/teams.py b/elementary/monitor/data_monitoring/alerts/integrations/teams/teams.py index db6339873..50d81d851 100644 --- a/elementary/monitor/data_monitoring/alerts/integrations/teams/teams.py +++ b/elementary/monitor/data_monitoring/alerts/integrations/teams/teams.py @@ -557,7 +557,7 @@ def _get_alerts_group_template(self, alert: AlertsGroup, *args, **kwargs): if alert.model_errors: rows = [alert.summary for alert in alert.model_errors] - text = "
".join([f"🔺 {row}" for row in rows]) + text = "
".join([f"😵 {row}" for row in rows]) self.message_builder.addSection( self._get_section("*Model errors*", f"{text}") )