Skip to content

Commit 0ca7360

Browse files
committed
session save laptime of previous lap
1 parent 3af078e commit 0ca7360

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed

telemetry/models/session.py

+1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ def analyze_other(self, telemetry, now) -> None:
223223
self.previous_lap.valid = previous_lap_was_valid
224224
self.previous_lap.finished = True
225225
logger.debug(f"lap {self.previous_lap.number} time {lap_time_previous} valid {previous_lap_was_valid}")
226+
self.previous_lap.save_dirty_fields()
226227

227228
self.previous_distance = distance
228229
self.previous_lap_time = lap_time
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)