Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kathy Pippert <[email protected]>
  • Loading branch information
janvonrickenbach and PipKat authored Jan 9, 2024
1 parent 3121622 commit 1c31fde
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def upload_file_to_unique_tmp_folder(path_on_client: _PATH, server: BaseServer)
Parameters
----------
path_on_client:
file path on the client side to upload
Client side path of the file which should be uploaded to the server.
server:
Dpf server
DPF server.
"""
tmp_dir = pathlib.Path(
dpf.make_tmp_dir_server()
Expand All @@ -36,7 +36,7 @@ def upload_file_to_unique_tmp_folder(path_on_client: _PATH, server: BaseServer)
if uploaded_path == "":
raise RuntimeError(
f"Failed to upload file {path_on_client} to server. "
f"Attempted to upload to {path_on_server}"
f"Attempted to upload to {path_on_server}."
)
return uploaded_path

Expand Down

0 comments on commit 1c31fde

Please sign in to comment.