mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Fixed unit test
CURA-3497
This commit is contained in:
parent
c815077278
commit
69c3baf87f
2 changed files with 8 additions and 3 deletions
|
@ -351,7 +351,7 @@ class CuraContainerStack(ContainerStack):
|
|||
|
||||
if type_name == "definition":
|
||||
if not container or not isinstance(container, DefinitionContainer):
|
||||
definition = self.findContainer(container_type = DefinitionContainer, category = "*")
|
||||
definition = self.findContainer(container_type = DefinitionContainer)
|
||||
if not definition:
|
||||
raise InvalidContainerStackError("Stack {id} does not have a definition!".format(id = self._id))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue