mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 12:53:16 +08:00
If setting is false, it will still return false (instead of empty string)
CURA-2271
This commit is contained in:
parent
e7335d9814
commit
9770037398
@ -175,8 +175,8 @@ class ContainerManager(QObject):
|
|||||||
return ""
|
return ""
|
||||||
|
|
||||||
result = containers[0].getMetaDataEntry(entry_name)
|
result = containers[0].getMetaDataEntry(entry_name)
|
||||||
if result:
|
if result is not None:
|
||||||
return result
|
return str(result)
|
||||||
else:
|
else:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user