Skip to content

Commit

Permalink
Update src/ansys/tools/path/path.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kerry McAdams <[email protected]>
  • Loading branch information
dipinknair and klmcadams authored Dec 20, 2024
1 parent 17dbfbc commit 8578f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/tools/path/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,8 +1157,8 @@ def version_from_path(product: PRODUCT_TYPE, path: str) -> int:
"""
if not isinstance(path, str):
raise ValueError(
f'The provided path, "{path}", is not a valid string.'
f'If "{product}" is not installed in the default location, use ``save-ansys-path``'
f'The provided path, "{path}", is not a valid string. '
f'If "{product}" is not installed in the default location, use ``save-ansys-path`` '
f"to save the path so it can be found by ``ansys-tools-path``."
)
if product == "mechanical":
Expand Down

0 comments on commit 8578f2b

Please sign in to comment.