Skip to content

Commit

Permalink
Fix ansys installation finder (#1966)
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoNegri authored Dec 16, 2024
1 parent af30b32 commit 6f7cde8
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*"))

if not list(paths):
if not paths:
return None

versions = {}
Expand Down

0 comments on commit 6f7cde8

Please sign in to comment.