From 3a410d7e96437b40997963a8ebda1ee25f4a5e45 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 16 May 2024 17:00:32 -0700 Subject: [PATCH] fix None --- selfdrive/test/process_replay/migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/test/process_replay/migration.py b/selfdrive/test/process_replay/migration.py index b22a63a1ca..53b95d35a1 100644 --- a/selfdrive/test/process_replay/migration.py +++ b/selfdrive/test/process_replay/migration.py @@ -78,7 +78,7 @@ def migrate_controlsState(lr): for msg in lr: if msg.which() == 'onroadEvents': events = msg.onroadEvents - elif msg.which() == 'controlsState': + if msg.which() == 'controlsState': cs = msg.as_builder() cs.controlsState.initialized = events is not None and not any(EventName.controlsInitializing == e.name for e in events) all_msgs.append(cs.as_reader())