mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-15 08:59:32 -07:00
Fix warning/Boyscouting
CURA-11288
This commit is contained in:
parent
c4939701e1
commit
153e2e7bd0
1 changed files with 1 additions and 2 deletions
|
|
@ -42,8 +42,7 @@ class MaterialOutputModel(QObject):
|
|||
"tpu" :{"name" :"tpu_175" ,"guid": "19baa6a9-94ff-478b-b4a1-8157b74358d2"}
|
||||
}
|
||||
|
||||
|
||||
if guid is None and brand is not "empty" and type in _MATERIAL_MAP:
|
||||
if guid is None and brand != "empty" and type in _MATERIAL_MAP:
|
||||
name = _MATERIAL_MAP[type]["name"]
|
||||
guid = _MATERIAL_MAP[type]["guid"]
|
||||
return name, guid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue