From d34f54a3c723687afa82d7ae1431f574ff81b82b Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 9 Sep 2016 10:29:16 +0200 Subject: [PATCH] Right type is now returned if metadata entry is not found CURA-2242 --- cura/Settings/ContainerManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Settings/ContainerManager.py b/cura/Settings/ContainerManager.py index 27a9bd90dd..08d638033b 100644 --- a/cura/Settings/ContainerManager.py +++ b/cura/Settings/ContainerManager.py @@ -172,7 +172,7 @@ class ContainerManager(QObject): containers = self._container_registry.findContainers(None, id=container_id) if not containers: UM.Logger.log("w", "Could not get metadata of container %s because it was not found.", container_id) - return False + return "" result = containers[0].getMetaDataEntry(entry_name) if result: