mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Remove unused variable
Contributes to issue CURA-3935.
This commit is contained in:
parent
7551c83612
commit
f4e620c458
1 changed files with 0 additions and 2 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue