diff --git a/allianceauth/templatetags/admin_status.py b/allianceauth/templatetags/admin_status.py index a8e92594..b673e913 100644 --- a/allianceauth/templatetags/admin_status.py +++ b/allianceauth/templatetags/admin_status.py @@ -39,7 +39,7 @@ logger = logging.getLogger(__name__) @register.simple_tag() def decimal_widthratio(this_value, max_value, max_width) -> str: if max_value == 0: - return 0 + return str(0) return str(round(this_value/max_value * max_width, 2))