mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Apply suggestions from code review
CURA-9277 Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
This commit is contained in:
parent
12f3581337
commit
35502e45fa
4 changed files with 6 additions and 6 deletions
|
@ -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()]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue