diff --git a/avalon/houdini/lib.py b/avalon/houdini/lib.py index 66890a24d..bc2295b95 100644 --- a/avalon/houdini/lib.py +++ b/avalon/houdini/lib.py @@ -62,8 +62,8 @@ def imprint(node, data): def lsattr(attr, value=None): - nodes = list(hou.node("/obj").allNodes()) if value is None: + nodes = list(hou.node("/obj").allNodes()) return [n for n in nodes if n.parm(attr)] return lsattrs({attr: value})