If setting is false, it will still return false (instead of empty string)

CURA-2271
This commit is contained in:
Jaime van Kessel 2016-09-09 11:44:41 +02:00
parent e7335d9814
commit 9770037398

View file

@ -175,8 +175,8 @@ class ContainerManager(QObject):
return ""
result = containers[0].getMetaDataEntry(entry_name)
if result:
return result
if result is not None:
return str(result)
else:
return ""