Skip to content

Commit 039bf87

Browse files
committed
Fixed wrong path argument
1 parent bdde1cc commit 039bf87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dvuploader/directupload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def direct_upload(
4747
assert os.path.exists(file.filepath), f"File {file.filepath} does not exist"
4848

4949
file_size = os.path.getsize(file.filepath)
50-
pbar = _setup_pbar(file.fileName, position)
50+
pbar = _setup_pbar(file.filepath, position)
5151
response = _request_ticket(
5252
dataverse_url=dataverse_url,
5353
api_token=api_token,

0 commit comments

Comments
 (0)