Skip to content

Commit e7fa7a7

Browse files
SMoraisAnsyspyansys-ci-botSamuelopez-ansys
authored
FIX: Return value of download_multiparts (#6075)
Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Samuel Lopez <[email protected]>
1 parent c7c5619 commit e7fa7a7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/changelog.d/6075.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Return value of download_multiparts

src/ansys/aedt/core/examples/downloads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def download_multiparts(local_path: Optional[Union[str, Path]] = None) -> str:
718718

719719
zip_file = _download_file("pyaedt/multiparts/library.zip", local_path=local_path, strip_prefix="pyaedt")
720720
unzip(zip_file, local_path / "multiparts")
721-
return str(local_path / "multiparts")
721+
return str(local_path / "multiparts" / "library")
722722

723723

724724
@pyaedt_function_handler(destination="local_path")

0 commit comments

Comments
 (0)