mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Add explicit typing
This commit is contained in:
parent
718d3790e2
commit
b689a84bcb
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue