From b689a84bcb0e6e69b5dc97aa8b0c2b1cb8c2a76c Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 30 Aug 2022 13:09:53 +0200 Subject: [PATCH] Add explicit typing --- .../UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index f6df780206..5206abcc34 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -378,7 +378,7 @@ class CloudOutputDeviceManager: local_network_key = active_machine.getMetaDataEntry(self.META_NETWORK_KEY) # Copy of the device list, to prevent modifying the list while iterating, if a device gets added asynchronously. - remote_cluster_copy = list(self._remote_clusters.values()) + remote_cluster_copy: List[CloudOutputDevice] = list(self._remote_clusters.values()) for device in remote_cluster_copy: if device.key == stored_cluster_id: # Connect to it if the stored ID matches.