Simplify list notation

CURA-9278
This commit is contained in:
Casper Lamboo 2022-09-12 14:19:08 +02:00 committed by GitHub
parent b7611da95e
commit 0f36f83373
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,5 +79,5 @@ class CompatibleMachineModel(ListModel):
self.appendItem({
"name": printer.name,
"unique_id": printer.name, # <- Can assume the cloud doesn't have duplicate names?
"extruders": [extruder for extruder in extruder_configs.values()]
"extruders": extruder_configs.values()
})