From 0e5395dfd55853b453e65c4e0fb5fb5ae6619a42 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 29 Jan 2018 14:29:13 +0100 Subject: [PATCH] Fix crash when removing manually added device. I forgot to rename a variable :( CURA-4861 --- plugins/UM3NetworkPrinting/UM3OutputDevicePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/UM3OutputDevicePlugin.py b/plugins/UM3NetworkPrinting/UM3OutputDevicePlugin.py index c639c25007..5ff5eb9e3e 100644 --- a/plugins/UM3NetworkPrinting/UM3OutputDevicePlugin.py +++ b/plugins/UM3NetworkPrinting/UM3OutputDevicePlugin.py @@ -126,7 +126,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin): def removeManualDevice(self, key, address = None): if key in self._discovered_devices: if not address: - address = self._printers[key].ipAddress + address = self._discovered_devices[key].ipAddress self._onRemoveDevice(key) if address in self._manual_instances: