Skip to content

Commit

Permalink
fix: TypeError from journal_name (#3614)
Browse files Browse the repository at this point in the history
fix: TypeError from jounral_name
  • Loading branch information
mkundu1 authored Jan 3, 2025
1 parent 7128464 commit 87730eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansys/fluent/core/services/app_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 87730eb

Please sign in to comment.