Minor comment update

This commit is contained in:
Fabien Castan 2024-06-07 17:49:08 +02:00 committed by GitHub
parent 57a1119b21
commit 7bc07bdaad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -750,7 +750,7 @@ class BaseNode(BaseObject):
# Apply expressions for File attributes
if attr.attributeDesc.isExpression:
defaultValue = ""
# Do not evaluate expression for disabled attributes (the expression may refer to other attributes that are not yet defined)
# Do not evaluate expression for disabled attributes (the expression may refer to other attributes that are not defined)
if attr.enabled:
try:
defaultValue = attr.defaultValue()