diff --git a/plexpy/helpers.py b/plexpy/helpers.py index e8326ffb..9eb4a5eb 100644 --- a/plexpy/helpers.py +++ b/plexpy/helpers.py @@ -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