Skip to content

Commit

Permalink
Updated help files for Ave. Lap Time.
Browse files Browse the repository at this point in the history
  • Loading branch information
esitarski committed Aug 14, 2024
1 parent 629af01 commit 440e1f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SetLaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def updateColumn( results, c ):
self.column[c].raceLaps.SetLabel( '{}{}'.format(winnerLaps, ' ({})'.format(_('est')) if raceMinutes is not None else '') if winnerLaps else '' )

# Average lap time.
if lapCur and results[0].raceTimes:
if lapCur and results and results[0].raceTimes and results[0].status == Finisher:
laps = lapCur if race.isRunning() else winnerLaps
raceTimes = results[0].raceTimes[:laps+1]
if laps > 1:
Expand Down
1 change: 1 addition & 0 deletions helptxt/SetLaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Field|Description
:----|:----------
Race Laps|Number of laps in the race. If Race Laps is not specified, the race is run on time, and CrossMgr will compute the laps based on the lap times.
Winner Time|Estimated winner's finish time.
Ave. Lap Time|Average Lap Time of the leader.
Winner Time Delta|Difference (+/-) of the winner's time from the scheduled race time.
Last on Course Time|Estimated finish time of the last rider on course. This takes lapped participants into account as appropriate.
Winner Clock|Clock time (time of day) of winner.
Expand Down

0 comments on commit 440e1f4

Please sign in to comment.