Fix driverlist for unknown drivers
This commit is contained in:
parent
756c38b0cb
commit
0feeb6af30
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user