mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-01 00:22:02 +08:00
More robust check for network key
Contributes to CL-1266
This commit is contained in:
parent
35a9a0a058
commit
63bf95cc9e
@ -147,7 +147,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
|||||||
|
|
||||||
# However, for manually added printers, the local IP address is used in lieu of a proper
|
# However, for manually added printers, the local IP address is used in lieu of a proper
|
||||||
# network key, so check for that as well
|
# network key, so check for that as well
|
||||||
if network_key == self.clusterData.host_internal_ip:
|
if network_key.find(self.clusterData.host_internal_ip):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user