Skip to content

Commit 300264a

Browse files
committed
Switch units
1 parent 5183c02 commit 300264a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caltechdata_api/caltechdata_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def add_file_links(metadata, file_links):
4747
path = link.split(endpoint)[1]
4848
try:
4949
size = s3.info(path)["Size"]
50-
size = humanbytes(size) # round(size / 1024.0 / 1024.0 / 1024.0, 2)
50+
size = humanbytes(size)
5151
except:
5252
size = 0
5353
if link_string == "":

0 commit comments

Comments
 (0)