aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/badge.svg.jinja2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/badge.svg.jinja b/templates/badge.svg.jinja
index fe2da3f..972c39a 100644
--- a/templates/badge.svg.jinja
+++ b/templates/badge.svg.jinja
@@ -2,7 +2,7 @@
{%- set ROW_MARGIN = 2 -%}
{%- set FONT_SIZE_PERCENT = 75 -%}
{%- set FONT_SIZE = (ROW_HEIGHT - ROW_MARGIN) * FONT_SIZE_PERCENT / 100 -%}
-{%- set ROWS = 1 + versions|length + (versions.items()|map('length')|sum) -%}
+{%- set ROWS = 1 + versions|length + (versions.values()|map('length')|sum) -%}
{%- set OUTER_MARGIN = 5 -%}
{%- set REPO_LEFT_MARGIN = 15 -%}
{%- set FONT_WIDENESS = 0.5 -%}