@@ -150,7 +150,7 @@ def set_car_config(self, conf):
150
150
def set_racer_bio (self , conf ):
151
151
self .conf = conf
152
152
if "bio" in conf :
153
- self .send_racer_bio (conf ["racer_name" ], conf ["car_name" ], conf ["bio" ], conf ["country" ])
153
+ self .send_racer_bio (conf ["racer_name" ], conf ["car_name" ], conf ["bio" ], conf ["country" ], conf [ "guid" ] )
154
154
155
155
def on_recv_message (self , message ):
156
156
if 'msg_type' not in message :
@@ -357,15 +357,17 @@ def send_car_config(self, body_style, body_rgb, car_name, font_size):
357
357
self .blocking_send (msg )
358
358
time .sleep (0.1 )
359
359
360
- def send_racer_bio (self , racer_name , car_name , bio , country ):
360
+ def send_racer_bio (self , racer_name , car_name , bio , country , guid ):
361
361
# body_style = "donkey" | "bare" | "car01" choice of string
362
362
# body_rgb = (128, 128, 128) tuple of ints
363
363
# car_name = "string less than 64 char"
364
+ # guid = "some random string"
364
365
msg = {'msg_type' : 'racer_info' ,
365
366
'racer_name' : racer_name ,
366
367
'car_name' : car_name ,
367
368
'bio' : bio ,
368
- 'country' : country }
369
+ 'country' : country ,
370
+ 'guid' : guid }
369
371
self .blocking_send (msg )
370
372
time .sleep (0.1 )
371
373
0 commit comments