Skip to content

Commit

Permalink
Use correct path when uploading example files
Browse files Browse the repository at this point in the history
  • Loading branch information
janvonrickenbach committed Jan 8, 2024
1 parent 145da6f commit 390d496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/dpf/composites/example_helper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 390d496

Please sign in to comment.