Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2017-06-14 14:40:57 +0300
committerGhostkeeper <rubend@tutanota.com>2017-06-14 14:40:57 +0300
commitf4e620c458d1553ca8302e80c3d0e7f80687a54e (patch)
tree21ec3697605ae4f98681250825449983a8ef38fa /cura/QualityManager.py
parent7551c836127240683b3bf56a8bd020d9bc39cda8 (diff)
Remove unused variable
Contributes to issue CURA-3935.
Diffstat (limited to 'cura/QualityManager.py')
-rw-r--r--cura/QualityManager.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cura/QualityManager.py b/cura/QualityManager.py
index a0341742f9..c76a515c5b 100644
--- a/cura/QualityManager.py
+++ b/cura/QualityManager.py
@@ -54,8 +54,6 @@ class QualityManager:
# specified then the currently selected machine definition is used..
# \return the matching quality changes containers \type{List[InstanceContainer]}
def findQualityChangesByName(self, quality_changes_name: str, machine_definition: Optional["DefinitionContainerInterface"] = None):
- criteria = {"type": "quality_changes", "name": quality_changes_name}
-
result = self.findAllQualityChangesForMachine(machine_definition)
result = [quality_change for quality_change in result if quality_change.getName() == quality_changes_name]