mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Code style
CURA-9514
This commit is contained in:
parent
93e2bef303
commit
035fb27ab0
1 changed files with 3 additions and 3 deletions
|
@ -80,14 +80,14 @@ class MachineListModel(ListModel):
|
|||
if parseBool(container_stack.getMetaDataEntry("hidden", False)):
|
||||
return
|
||||
|
||||
isOnline = parseBool(container_stack.getMetaDataEntry("is_online", False))
|
||||
is_online = parseBool(container_stack.getMetaDataEntry("is_online", False))
|
||||
if container_stack.getMetaDataEntry("type") == "abstract_machine":
|
||||
isOnline = True
|
||||
is_online = True
|
||||
|
||||
self.appendItem({"name": container_stack.getName(),
|
||||
"id": container_stack.getId(),
|
||||
"metadata": container_stack.getMetaData().copy(),
|
||||
"isOnline": isOnline,
|
||||
"isOnline": is_online,
|
||||
"machineType": container_stack.getMetaDataEntry("type"),
|
||||
"machineCount": machine_count,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue