mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Remove convenience handling of 'None'
Because this parameter has type checking, we'll get warned if this variable is None. Contributes to issue CURA-4243.
This commit is contained in:
parent
54a12d14c4
commit
952e3974eb
1 changed files with 0 additions and 4 deletions
|
@ -231,10 +231,6 @@ class QualityManager:
|
|||
if quality_definition_id is not None:
|
||||
machine_definition = ContainerRegistry.getInstance().findDefinitionContainers(id = quality_definition_id)[0]
|
||||
|
||||
# for convenience
|
||||
if material_containers is None:
|
||||
material_containers = []
|
||||
|
||||
if not material_containers:
|
||||
active_stacks = ExtruderManager.getInstance().getActiveGlobalAndExtruderStacks()
|
||||
if active_stacks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue