Skip to content

Commit

Permalink
updated incorrect documentation for grpc client open xml
Browse files Browse the repository at this point in the history
  • Loading branch information
bharnden committed Aug 9, 2024
1 parent d9013ab commit 33f07dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion daemon/core/api/grpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ def open_xml(self, file_path: Path, start: bool = False) -> tuple[bool, int]:
Load a local scenario XML file to open as a new session.
:param file_path: path of scenario XML file
:param start: tuple of result and session id when successful
:param start: instantiate session if true, false for a definition state
:return: tuple of result and session id
"""
with file_path.open("r") as f:
Expand Down
2 changes: 1 addition & 1 deletion daemon/core/emulator/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def open_xml(self, file_path: Path, start: bool = False) -> None:
Import a session from the EmulationScript XML format.
:param file_path: xml file to load session from
:param start: instantiate session if true, false otherwise
:param start: instantiate session if true, false for a definition state
:return: nothing
"""
logger.info("opening xml: %s", file_path)
Expand Down

0 comments on commit 33f07dd

Please sign in to comment.