From 43d8ed3515db8d3f1fb9bf56b50ceef54faf7600 Mon Sep 17 00:00:00 2001 From: Piv <18462828+Piv200@users.noreply.github.com> Date: Sun, 17 Nov 2019 17:35:57 +1030 Subject: [PATCH] Use nested list... :( --- MotorControl/MotorServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MotorControl/MotorServer.py b/MotorControl/MotorServer.py index 0378cf5..a2c82c8 100755 --- a/MotorControl/MotorServer.py +++ b/MotorControl/MotorServer.py @@ -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)