Remove 'None' default for quality_type

It has no semantic meaning to specify that here. The behaviour of this commit should be the same since 'None' is the default value for that parameter.

Contributes to issue CURA-4966.
This commit is contained in:
Ghostkeeper 2018-02-26 16:20:49 +01:00
parent 02c78faabc
commit b5d1e5be36
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A

View File

@ -947,7 +947,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
for extruder_stack in extruder_stacks_in_use:
# If the quality is different in the stacks, then the quality in the global stack is trusted
if extruder_stack.quality.getMetaDataEntry("quality_type", None) != global_stack.quality.getMetaDataEntry("quality_type", None):
if extruder_stack.quality.getMetaDataEntry("quality_type") != global_stack.quality.getMetaDataEntry("quality_type"):
search_criteria = {"id": global_stack.quality.getId(),
"type": "quality",
"definition": definition_id}