From 87730eb40a4ffedbdc4cab196b4aeae900cd841a Mon Sep 17 00:00:00 2001 From: Mainak Kundu <94432368+mkundu1@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:10:59 -0500 Subject: [PATCH] fix: TypeError from journal_name (#3614) fix: TypeError from jounral_name --- src/ansys/fluent/core/services/app_utilities.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ansys/fluent/core/services/app_utilities.py b/src/ansys/fluent/core/services/app_utilities.py index 86ce0147e54..a705e45d152 100644 --- a/src/ansys/fluent/core/services/app_utilities.py +++ b/src/ansys/fluent/core/services/app_utilities.py @@ -342,7 +342,8 @@ def get_app_mode(self) -> Enum: def start_python_journal(self, journal_name: str | None = None) -> int: """Start python journal.""" request = AppUtilitiesProtoModule.StartPythonJournalRequest() - request.journal_name = journal_name + if journal_name: + request.journal_name = journal_name response = self.service.start_python_journal(request) return response.journal_id