more styling

This commit is contained in:
Ville Rantanen
2018-02-18 11:01:31 +02:00
parent 5000a881e7
commit 2ef411ced9
3 changed files with 7 additions and 2 deletions

View File

@@ -253,7 +253,7 @@ def file_size_human(num):
num /= 1024.0
def file_size_MB(num):
return "%0.2f"%(num/(1024*1024),)
return "{:,.2f}".format(num/(1024*1024))
def file_date_human(num):