More robust check for network key

Contributes to CL-1266
This commit is contained in:
Ian Paschal 2019-03-04 16:26:20 +01:00
parent 35a9a0a058
commit 63bf95cc9e

View file

@ -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