mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Fix download size
This commit is contained in:
parent
066843f1f0
commit
0a7b170d6a
1 changed files with 2 additions and 2 deletions
|
|
@ -974,12 +974,12 @@
|
|||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Downloaded 0.00GB\n"
|
||||
"Downloaded 3.78GB\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"downloaded_bytes_total = sum(p['downloaded_bytes'] for p in downloads.values())\n",
|
||||
"downloaded_bytes_total = sum(p['size'] for p in downloads.values())\n",
|
||||
"print(f'Downloaded {(downloaded_bytes_total / 1024 ** 3):.2f}GB')"
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue