Assign result of createAbstractMachine to a variable

With prepended underscore to highlight the result of the function is not being used.

CURA-9277
This commit is contained in:
Casper Lamboo 2022-08-22 14:44:45 +02:00 committed by GitHub
parent 5761b3f27b
commit 12f3581337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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())