From 0feeb6af30ecb2c9ad8e32a65293cc1bf1312187 Mon Sep 17 00:00:00 2001 From: tamservo Date: Fri, 24 Nov 2023 04:57:56 -0500 Subject: [PATCH] Fix driverlist for unknown drivers --- robottas.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/robottas.py b/robottas.py index a4b17c0..3366f2f 100755 --- a/robottas.py +++ b/robottas.py @@ -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():