mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Remove Fix me
Cura-9277 Co-authored-by: joeydelarago <joeydelarago@gmail.com>
This commit is contained in:
parent
f22d446fa4
commit
963110a9c6
1 changed files with 1 additions and 2 deletions
|
@ -108,8 +108,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
||||||
:param container_type: :type{string} Type of the container (machine, quality, ...)
|
:param container_type: :type{string} Type of the container (machine, quality, ...)
|
||||||
:param container_name: :type{string} Name to check
|
:param container_name: :type{string} Name to check
|
||||||
"""
|
"""
|
||||||
# FIXME: this should check for abstract machine
|
container_class = ContainerStack if container_type in "machine" else InstanceContainer
|
||||||
container_class = ContainerStack if container_type == "machine" else InstanceContainer
|
|
||||||
|
|
||||||
return self.findContainersMetadata(container_type = container_class, id = container_name, type = container_type, ignore_case = True) or \
|
return self.findContainersMetadata(container_type = container_class, id = container_name, type = container_type, ignore_case = True) or \
|
||||||
self.findContainersMetadata(container_type = container_class, name = container_name, type = container_type)
|
self.findContainersMetadata(container_type = container_class, name = container_name, type = container_type)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue