Add missing format to error log

This commit is contained in:
Jaime van Kessel 2021-12-15 12:03:55 +01:00
parent 2abfad55e0
commit 998ba3631c

View file

@ -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)