Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ansys/fluent/core/solver/flobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_attr(self, attr) -> Any:
"""Get the requested attribute for the object."""
attrs = self.get_attrs([attr])
attrs = attrs.get("attrs", attrs)
if attr != "active?" and attrs.get("active?", True) is False:
if attr != "active?" and attrs and attrs.get("active?", True) is False:
raise RuntimeError("Object is not active")
return attrs[attr] if attrs else None

Expand Down