Use nested list... :(

This commit is contained in:
Piv
2019-11-17 17:35:57 +10:30
parent 9b3d991f03
commit 43d8ed3515

View File

@@ -69,7 +69,7 @@ class MotorServicer(motorService_pb2_grpc.CarControlServicer):
pvtKeyBytes = open(pvtKeyPath).read()
pvtCertBytes = open(pvtCertPath).read()
return grpc.ssl_server_credentials((pvtKeyBytes, pvtCertBytes))
return grpc.ssl_server_credentials([[pvtKeyBytes, pvtCertBytes]])
motor = Motor()
servo = Servo(servo_pin)