mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Fix mypy issue
This commit is contained in:
parent
eb599a837d
commit
4a47606176
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ class MachineManager(QObject):
|
||||||
# that situation will be fixed (and not occur again, since it switches it out to the preferred variant or
|
# that situation will be fixed (and not occur again, since it switches it out to the preferred variant or
|
||||||
# variant instead!)
|
# variant instead!)
|
||||||
machine_node = ContainerTree.getInstance().machines[global_stack.definition.getId()]
|
machine_node = ContainerTree.getInstance().machines[global_stack.definition.getId()]
|
||||||
for extruder in self._global_container_stack.extruderList:
|
for extruder in global_stack.extruderList:
|
||||||
variant_name = extruder.variant.getName()
|
variant_name = extruder.variant.getName()
|
||||||
variant_node = machine_node.variants.get(variant_name)
|
variant_node = machine_node.variants.get(variant_name)
|
||||||
if variant_node is None:
|
if variant_node is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue