From b5d1e5be36e208dceece86fe94725bf9588049e8 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 26 Feb 2018 16:20:49 +0100 Subject: [PATCH] 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. --- plugins/3MFReader/ThreeMFWorkspaceReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/3MFReader/ThreeMFWorkspaceReader.py b/plugins/3MFReader/ThreeMFWorkspaceReader.py index 35c56a2a14..08234aa8be 100755 --- a/plugins/3MFReader/ThreeMFWorkspaceReader.py +++ b/plugins/3MFReader/ThreeMFWorkspaceReader.py @@ -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}