mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
More robust check for network key
Contributes to CL-1266
This commit is contained in:
parent
35a9a0a058
commit
63bf95cc9e
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
|||
|
||||
# However, for manually added printers, the local IP address is used in lieu of a proper
|
||||
# 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 False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue