Apply suggestions from code review

CURA-9277

Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
This commit is contained in:
Casper Lamboo 2022-08-22 14:48:04 +02:00 committed by GitHub
parent 12f3581337
commit 35502e45fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -290,7 +290,7 @@ class CuraStackBuilder:
case []:
# It should not be possible for the definition to be missing since an abstract machine will only
# be created as a result of a machine with definition_id being created.
Logger.error("w", "Definition {definition} was not found!", definition=definition_id)
Logger.error(f"Definition {definition_id} was not found!")
return None
case [machine_definition, *_definitions]:
machine_node = container_tree.machines[machine_definition.getId()]