CL-1266
This commit is contained in:
Simon Edwards 2019-04-01 15:22:38 +02:00
parent 19c6fceb0c
commit 8700cbe4e8

View file

@ -152,7 +152,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.find(self.clusterData.host_internal_ip): if self.clusterData.host_internal_ip is not None and network_key.find(self.clusterData.host_internal_ip):
return True return True
return False return False