diff --git a/src/ansys/dpf/composites/example_helper/__init__.py b/src/ansys/dpf/composites/example_helper/__init__.py index a6fdc65d6..94571b8de 100644 --- a/src/ansys/dpf/composites/example_helper/__init__.py +++ b/src/ansys/dpf/composites/example_helper/__init__.py @@ -146,7 +146,7 @@ def _download_and_upload_file( urllib.request.urlretrieve(file_url, local_path) if server.local_server: return local_path - return upload_file_to_unique_folder(filename, server=server) + return upload_file_to_unique_folder(local_path, server=server) def get_short_fiber_example_files(