mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix remote_clusters not being added in second boot
CURA-7055
This commit is contained in:
parent
13105cfbd7
commit
7c7c1ad96c
2 changed files with 2 additions and 1 deletions
|
@ -137,6 +137,8 @@ class CloudOutputDeviceManager:
|
|||
if machine_manager.getMachine(device.printerType, {self.META_CLUSTER_ID: device.key}) is None \
|
||||
and machine_manager.getMachine(device.printerType, {self.META_NETWORK_KEY: cluster_data.host_name + "*"}) is None: # The host name is part of the network key.
|
||||
new_devices.append(device)
|
||||
elif device.getId() not in self._remote_clusters:
|
||||
self._remote_clusters[device.getId()] = device
|
||||
|
||||
if not new_devices:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue