mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix typo
Missing parenthesis. Contributes to CL-1160.
This commit is contained in:
parent
0d9a09797a
commit
70b0d16fa4
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
# This can happen if the connected machine has no material in one or more extruders (if GUID is empty), or the
|
||||
# material is unknown to Cura, so we should return an "empty" or "unknown" material model.
|
||||
if material_group_list is None:
|
||||
material_name = "Empty" if len(material_data.get("guid", "") == 0 else "Unknown"
|
||||
material_name = "Empty" if len(material_data.get("guid", "")) == 0 else "Unknown"
|
||||
return MaterialOutputModel(guid = material_data.get("guid", ""),
|
||||
type = material_data.get("type", ""),
|
||||
color = material_data.get("color", ""),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue