Skip to content

Commit 5151914

Browse files
committed
fix: a syntax resulting in failed API test in editable mode
1 parent 9e18458 commit 5151914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansys/dpf/core/custom_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def update_virtual_environment_for_custom_operators(
125125
if path_file.exists():
126126
# Treat editable installation of ansys-dpf-core
127127
with path_file.open("r") as f:
128-
current_site_packages_path = f.readline().strip()
128+
current_site_packages_path = Path(f.readline().strip())
129129
with tempfile.TemporaryDirectory() as tmpdir:
130130
tmpdir = Path(tmpdir)
131131
ansys_dir = tmpdir / "ansys_dpf_core"

0 commit comments

Comments
 (0)