Fix driver standing points string for NC
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 30s

This commit is contained in:
2024-05-25 14:42:49 +02:00
parent f15bbb4b96
commit 0cff53cf42

View File

@ -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}")