diff --git a/plexpy/helpers.py b/plexpy/helpers.py index ad9e4724..8b07b1e5 100644 --- a/plexpy/helpers.py +++ b/plexpy/helpers.py @@ -466,7 +466,7 @@ def get_percent(value1, value2): else: percent = 0 - return math.trunc(percent) + return math.trunc(round(percent, 0)) def hex_to_int(hex):