Skip to content

Commit

Permalink
Commit suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
  • Loading branch information
jwodder and yarikoptic authored Mar 23, 2021
1 parent 94df608 commit 34fe1db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dandi/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,7 @@ def process_path(path, relpath):
validating = False
for r in client.iter_upload(ds_identifier, "draft", metadata, str(path)):
if r["status"] == "uploading":
uploaded_paths[str(path)]["size"] = r["current"]
r.pop("current")
uploaded_paths[str(path)]["size"] = r.pop("current")
yield r
elif r["status"] == "post-validating":
# Only yield the first "post-validating" status
Expand Down

0 comments on commit 34fe1db

Please sign in to comment.