Fix driverlist for unknown drivers

This commit is contained in:
tamservo 2023-11-24 04:57:56 -05:00
parent 756c38b0cb
commit 0feeb6af30

View File

@ -398,7 +398,8 @@ class Robottas(commands.Bot):
if driver_num in self.driver_dict.keys():
driver = self.driver_dict[driver_num]
self.driver_list[int(position) - 1] = self.driver_dict[driver_num]
#self.driver_list[int(position) - 1] = self.driver_dict[driver_num]
self.driver_list[int(postion) - 1] = driver
# Load lap data
if 'LapCount' in message['R'].keys():