mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 11:38:36 -07:00
Fix file size notification parameter truncated to integer (Fixes Tautulli/Tautlli-Issues#226)
This commit is contained in:
parent
699357ca21
commit
d8b1db536c
1 changed files with 1 additions and 1 deletions
|
@ -1026,7 +1026,7 @@ def build_datatables_json(kwargs, dt_columns, default_sort_col=None):
|
|||
|
||||
def humanFileSize(bytes, si=False):
|
||||
if str(bytes).isdigit():
|
||||
bytes = int(bytes)
|
||||
bytes = cast_to_float(bytes)
|
||||
else:
|
||||
return bytes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue