From 7c95b43e1a5fe5f2c8464cd77898c464afd98bf4 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Mon, 30 Sep 2024 10:45:00 -0400 Subject: [PATCH] should append --- sunnypilot/mads/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunnypilot/mads/state.py b/sunnypilot/mads/state.py index e90effffd3..82618c0ec6 100644 --- a/sunnypilot/mads/state.py +++ b/sunnypilot/mads/state.py @@ -52,7 +52,7 @@ class StateMachineBase(ABC): def add_current_alert_types(self, alert_type): if not self.selfdrive.active: - self.ss_state_machine.current_alert_types(alert_type) + self.ss_state_machine.current_alert_types.append(alert_type) class InactiveBase(StateMachineBase):