Skip to content

Commit

Permalink
fix: remove last set of points before download info
Browse files Browse the repository at this point in the history
  • Loading branch information
ghyatzo committed Jan 20, 2025
1 parent 53f1b97 commit c2e2a85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CDSAPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ function retrieve(name, params::AbstractDict, filename; wait=1.0)
["PRIVATE-TOKEN" => creds["key"]]
)
body = JSON.parse(String(response.body))

print("\e[1K\e[0E")
HTTP.download(body["asset"]["value"]["href"], filename)

return data
Expand Down

0 comments on commit c2e2a85

Please sign in to comment.