Skip to content

Commit cd41c46

Browse files
committed
fix: the behaviour of os.listdir() is slightly different from Path.iterdir()
1 parent 519d2f2 commit cd41c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansys/dpf/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def upload_files_in_folder(
770770
server_paths = self._upload_and_get_server_path(
771771
specific_extension,
772772
str(f),
773-
str(filename),
773+
filename.name,
774774
server_paths,
775775
str(to_server_folder_path),
776776
subdirectory,

0 commit comments

Comments
 (0)