Skip to content
Snippets Groups Projects
Commit 72642594 authored by Florent Thiery's avatar Florent Thiery
Browse files

round up gb numbers

parent a80f02bf
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ BS = 512
def to_gbytes(size_bytes):
return size_bytes/(1024*1024*1024)
return int(round(size_bytes/(1024*1024*1024)))
def read_file(fname):
with open(fname, 'r') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment