Skip to content

Commit

Permalink
Fix ansys installation finder
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoNegri authored Dec 12, 2024
1 parent af30b32 commit ca0ea56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/dpf/core/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ def find_ansys():
if base_path is None:
return base_path

paths = base_path.glob("v*")
paths = list(base_path.glob("v*"))

Check warning on line 186 in src/ansys/dpf/core/misc.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/dpf/core/misc.py#L186

Added line #L186 was not covered by tests

if not list(paths):
if not paths:

Check warning on line 188 in src/ansys/dpf/core/misc.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/dpf/core/misc.py#L188

Added line #L188 was not covered by tests
return None

versions = {}
Expand Down

0 comments on commit ca0ea56

Please sign in to comment.