mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 02:28:58 +08:00
Code style
CURA-9514
This commit is contained in:
parent
93e2bef303
commit
035fb27ab0
@ -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…
x
Reference in New Issue
Block a user