mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Fix the first tests
This commit is contained in:
parent
f8f133d2ef
commit
dc17bd8499
2 changed files with 16 additions and 8 deletions
|
@ -157,6 +157,7 @@ class SendMaterialJob(Job):
|
|||
@classmethod
|
||||
def _parseReply(cls, reply: QNetworkReply) -> Dict[str, ClusterMaterial]:
|
||||
remote_materials_list = json.loads(reply.readAll().data().decode("utf-8"))
|
||||
print("remote_materials_list", remote_materials_list)
|
||||
return {material["guid"]: ClusterMaterial(**material) for material in remote_materials_list}
|
||||
|
||||
## Retrieves a list of local materials
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue