mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Merge branch 'master' into CURA-7438_Show_cloud_connection_not_available_printer_removed_from_account
This commit is contained in:
commit
9e891c201b
10 changed files with 57 additions and 161 deletions
|
@ -125,9 +125,6 @@ class ClusterPrintJobStatus(BaseModel):
|
|||
model.updateOwner(self.owner)
|
||||
model.updateState(self.status)
|
||||
model.setCompatibleMachineFamilies(self.compatible_machine_families)
|
||||
model.updateTimeTotal(self.time_total)
|
||||
model.updateTimeElapsed(self.time_elapsed)
|
||||
model.updateOwner(self.owner)
|
||||
|
||||
status_set_by_impediment = False
|
||||
for impediment in self.impediments_to_printing:
|
||||
|
|
|
@ -54,4 +54,4 @@ class ClusterPrinterConfigurationMaterial(BaseModel):
|
|||
"name": "Empty" if self.material == "empty" else "Unknown"
|
||||
}
|
||||
|
||||
return MaterialOutputModel(guid = self.guid, type = material_metadata["material"], brand = material_metadata["brand"], color = material_metadata["color_code"], name = material_metadata["name"])
|
||||
return MaterialOutputModel(guid = self.guid, type = material_metadata["material"], brand = material_metadata["brand"], color = material_metadata.get("color_code", "#ffc924"), name = material_metadata["name"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue