From 7700bcb49cae311cbf20367fea8ac21322c10955 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Wed, 20 Oct 2021 19:39:25 -0600 Subject: [PATCH] needed to add 1 to while loop for totals line --- flaskfdx/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaskfdx/dashboard.py b/flaskfdx/dashboard.py index 463f1f7..c25deec 100644 --- a/flaskfdx/dashboard.py +++ b/flaskfdx/dashboard.py @@ -26,7 +26,7 @@ def index(): totpkgs = 0 tottermpkgs = 0 i = 0 - while len(lastseven) < 7: + while len(lastseven) < 8: if fourweeks[i]['date'] not in lastseven: lastseven[fourweeks[i]['date']] = {} if fourweeks[i]['entity'] == 'contract':