Skip to content

Commit

Permalink
Update hcp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-brink committed Dec 18, 2024
1 parent fa521ab commit 4cee7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NGPIris/hcp/hcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def upload_file(self, local_file_path : str, key : str = "") -> None:
key = file_name

if "\\" in local_file_path:
raise RuntimeError("The \\ character is not allowed in the file path")
raise RuntimeError("The \"\\\" character is not allowed in the file path")

if self.object_exists(key):
raise ObjectAlreadyExist("The object \"" + key + "\" already exist in the mounted bucket")
Expand Down

0 comments on commit 4cee7fd

Please sign in to comment.