mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix testing against literal instead of value
Contribute to CURA-10831
This commit is contained in:
parent
2d3ef87a47
commit
7a4d26452a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class MaterialOutputModel(QObject):
|
|||
}
|
||||
|
||||
|
||||
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