mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 14:10:52 -07:00
Change humanFileSize to default to SI notation
This commit is contained in:
parent
c8f132a750
commit
aa5affe366
1 changed files with 1 additions and 1 deletions
|
@ -1006,7 +1006,7 @@ def build_datatables_json(kwargs, dt_columns, default_sort_col=None):
|
|||
return json.dumps(json_data)
|
||||
|
||||
|
||||
def humanFileSize(bytes, si=False):
|
||||
def humanFileSize(bytes, si=True):
|
||||
if str(bytes).isdigit():
|
||||
bytes = int(bytes)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue