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