mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 15:45:09 +08:00
Enable network key pairing again
This commit is contained in:
parent
c0933ddb2d
commit
b7dfa11e69
@ -167,10 +167,9 @@ class CloudOutputDeviceManager:
|
|||||||
device = next((c for c in self._remote_clusters.values() if c.matchesNetworkKey(local_network_key)), None)
|
device = next((c for c in self._remote_clusters.values() if c.matchesNetworkKey(local_network_key)), None)
|
||||||
if not device:
|
if not device:
|
||||||
return
|
return
|
||||||
print("CONNECT BY NETWORK KEY", local_network_key, device.key, device.name)
|
|
||||||
Logger.log("i", "Found cluster %s with network key %s", device, local_network_key)
|
Logger.log("i", "Found cluster %s with network key %s", device, local_network_key)
|
||||||
# active_machine.setMetaDataEntry(self.META_CLUSTER_ID, device.key)
|
active_machine.setMetaDataEntry(self.META_CLUSTER_ID, device.key)
|
||||||
# self._connectToOutputDevice(device, active_machine)
|
self._connectToOutputDevice(device, active_machine)
|
||||||
|
|
||||||
## Connects to an output device and makes sure it is registered in the output device manager.
|
## Connects to an output device and makes sure it is registered in the output device manager.
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user