diff options
author | joeydelarago <joeydelarago@gmail.com> | 2022-08-23 16:44:42 +0300 |
---|---|---|
committer | joeydelarago <joeydelarago@gmail.com> | 2022-08-23 16:44:42 +0300 |
commit | 035fb27ab07079e6996171db2d0c387c0babb2f1 (patch) | |
tree | e088a10281fbaa0f4de3b992ba6aaf69294f11ab | |
parent | 93e2bef30342c62ddd074e4dac7998c1dbae133d (diff) |
Code style
CURA-9514
-rw-r--r-- | cura/Machines/Models/MachineListModel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cura/Machines/Models/MachineListModel.py b/cura/Machines/Models/MachineListModel.py index 4df38090d8..4b58ca7bef 100644 --- a/cura/Machines/Models/MachineListModel.py +++ b/cura/Machines/Models/MachineListModel.py @@ -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, }) |