From 4be2756f3fec8f8e37b7989f1453c376b4fef42d Mon Sep 17 00:00:00 2001 From: crnbaker Date: Wed, 5 Jun 2024 14:13:20 +0100 Subject: [PATCH] #58 - fixed status property of abstract spectrum hub --- .../devices/abstract_device/abstract_spectrum_hub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectrumdevice/devices/abstract_device/abstract_spectrum_hub.py b/src/spectrumdevice/devices/abstract_device/abstract_spectrum_hub.py index 4c4a1dd..721e2bd 100644 --- a/src/spectrumdevice/devices/abstract_device/abstract_spectrum_hub.py +++ b/src/spectrumdevice/devices/abstract_device/abstract_spectrum_hub.py @@ -81,7 +81,7 @@ def status(self) -> DEVICE_STATUS_TYPE: Returns: statuses (List[List[`CardStatus`]]): A list of lists of `CardStatus` (each card has a list of statuses). """ - return DEVICE_STATUS_TYPE([card.status[0] for card in self._child_cards]) + return [card.status[0] for card in self._child_cards] def start_transfer(self) -> None: """Start the transfer of data between the on-device buffer of each child card and its `TransferBuffer`. See