From ac116bf631f75213a57b4f33037069438b57886c Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Fri, 4 Aug 2023 16:41:55 +0100 Subject: [PATCH] more error fixing --- spinnman/transceiver/base_transceiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spinnman/transceiver/base_transceiver.py b/spinnman/transceiver/base_transceiver.py index 7a9bebac8..4a53d9df9 100644 --- a/spinnman/transceiver/base_transceiver.py +++ b/spinnman/transceiver/base_transceiver.py @@ -301,8 +301,8 @@ def _check_connection( @overrides(AbstractTransceiver.send_sdp_message) def send_sdp_message(self, message, connection=None): if connection is None: - self._scamp_connection[random.randint( - 0, len(self._scamp_connection) - 1)] + self._scamp_connections[random.randint( + 0, len(self._scamp_connections) - 1)] else: connection_to_use = connection connection_to_use.send_sdp_message(message)