Use nested list... :(
This commit is contained in:
@@ -69,7 +69,7 @@ class MotorServicer(motorService_pb2_grpc.CarControlServicer):
|
|||||||
pvtKeyBytes = open(pvtKeyPath).read()
|
pvtKeyBytes = open(pvtKeyPath).read()
|
||||||
pvtCertBytes = open(pvtCertPath).read()
|
pvtCertBytes = open(pvtCertPath).read()
|
||||||
|
|
||||||
return grpc.ssl_server_credentials((pvtKeyBytes, pvtCertBytes))
|
return grpc.ssl_server_credentials([[pvtKeyBytes, pvtCertBytes]])
|
||||||
|
|
||||||
motor = Motor()
|
motor = Motor()
|
||||||
servo = Servo(servo_pin)
|
servo = Servo(servo_pin)
|
||||||
|
|||||||
Reference in New Issue
Block a user