mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Add missing format to error log
This commit is contained in:
parent
2abfad55e0
commit
998ba3631c
@ -1535,7 +1535,7 @@ class MachineManager(QObject):
|
||||
machine_node = ContainerTree.getInstance().machines.get(machine_definition_id)
|
||||
variant_node = machine_node.variants.get(variant_name)
|
||||
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
|
||||
self.setVariant(position, variant_node)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user