Skip to content

Commit 8a12767

Browse files
authored
Fix get_session_handle to return only if session handle is present. (#2069)
1 parent ba137b0 commit 8a12767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansys/fluent/core/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def wrapper(self, obj=None):
193193
def __create_get_session_handle(cls):
194194
def wrapper(self, obj=None):
195195
root = self.get_root(obj)
196-
return root.session_handle
196+
return getattr(root, "session_handle", None)
197197

198198
return wrapper
199199

0 commit comments

Comments
 (0)