From 12f3581337b434f26e120ab08e0bccedbe253777 Mon Sep 17 00:00:00 2001 From: Casper Lamboo Date: Mon, 22 Aug 2022 14:44:45 +0200 Subject: [PATCH] Assign result of `createAbstractMachine` to a variable With prepended underscore to highlight the result of the function is not being used. CURA-9277 --- .../UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index 94b2eec80b..c2d00e98e0 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -405,7 +405,7 @@ class CloudOutputDeviceManager: self._setOutputDeviceMetadata(device, new_machine) - CuraStackBuilder.createAbstractMachine(device.printerType) + _abstract_machine = CuraStackBuilder.createAbstractMachine(device.printerType) if activate: CuraApplication.getInstance().getMachineManager().setActiveMachine(new_machine.getId())