From 7eabbd7b5cfc64b7219fde96ffed09e13f559af0 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 30 Aug 2022 11:52:13 +0200 Subject: [PATCH] Convert _updateOnlinePrinters to static CURA-8463 --- .../UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index 0d2e678e8b..7d8656dcd9 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -249,7 +249,8 @@ class CloudOutputDeviceManager: message.finalize(new_devices_added, new_output_devices) - def _updateOnlinePrinters(self, printer_responses: Dict[str, CloudClusterResponse]) -> None: + @staticmethod + def _updateOnlinePrinters(printer_responses: Dict[str, CloudClusterResponse]) -> None: """ Update the metadata of the printers to store whether they are online or not. :param printer_responses: The responses received from the API about the printer statuses.