mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-23 20:52:06 +08:00
should append
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user