From 63bf95cc9e29cb3d306bcdb4d8837e10aa8bfcd3 Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Mon, 4 Mar 2019 16:26:20 +0100 Subject: [PATCH] More robust check for network key Contributes to CL-1266 --- plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py index b89fc9d61d..f78f5e91c0 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py @@ -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