Skip to content

Commit

Permalink
Remove quotes from ANSYS_DPF_PATH env var
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Nov 14, 2023
1 parent aa1973c commit ab58cd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ansys/dpf/core/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def get_ansys_path(ansys_path=None):
# First check the environment variable for a custom path
if ansys_path is None:
ansys_path = os.environ.get("ANSYS_DPF_PATH")
if ansys_path:
ansys_path = ansys_path.replace('"', "")
# Then check for usual installation folders with AWP_ROOT and installed modules
if ansys_path is None:
ansys_path = find_ansys()
Expand Down

0 comments on commit ab58cd8

Please sign in to comment.