mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Add missing format to error log
This commit is contained in:
parent
2abfad55e0
commit
998ba3631c
1 changed files with 1 additions and 1 deletions
|
@ -1535,7 +1535,7 @@ class MachineManager(QObject):
|
||||||
machine_node = ContainerTree.getInstance().machines.get(machine_definition_id)
|
machine_node = ContainerTree.getInstance().machines.get(machine_definition_id)
|
||||||
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:
|
||||||
Logger.error("There is no variant with the name {variant_name}.")
|
Logger.error(f"There is no variant with the name {variant_name}.")
|
||||||
return
|
return
|
||||||
self.setVariant(position, variant_node)
|
self.setVariant(position, variant_node)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue