Fix driver standing points string for NC
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 30s
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 30s
This commit is contained in:
@ -154,6 +154,8 @@ class RaceResult:
|
||||
return points_strings[position_offset]
|
||||
else:
|
||||
return "0 Points"
|
||||
elif driver == _driver and driver in self.standing_exclusions:
|
||||
return "0 Points"
|
||||
|
||||
raise Exception(f"Could not get points string for driver {driver.name}")
|
||||
|
||||
|
Reference in New Issue
Block a user