mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:25:55 +08:00
Mypy fix
CL-1266
This commit is contained in:
parent
19c6fceb0c
commit
8700cbe4e8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user