Skip to content

Commit

Permalink
Sort at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyshox committed Oct 2, 2024
1 parent 4bf62fe commit 50417a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/test/process_replay/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def migrate(lr: LogIterable, migration_funcs: list[MigrationFunc]):
del lr[index]
for msg in add_ops:
lr.append(msg)
lr = sorted(lr, key=lambda x: x.logMonoTime)

return lr

Expand Down

0 comments on commit 50417a5

Please sign in to comment.