needed to add 1 to while loop for totals line
This commit is contained in:
@@ -26,7 +26,7 @@ def index():
|
|||||||
totpkgs = 0
|
totpkgs = 0
|
||||||
tottermpkgs = 0
|
tottermpkgs = 0
|
||||||
i = 0
|
i = 0
|
||||||
while len(lastseven) < 7:
|
while len(lastseven) < 8:
|
||||||
if fourweeks[i]['date'] not in lastseven:
|
if fourweeks[i]['date'] not in lastseven:
|
||||||
lastseven[fourweeks[i]['date']] = {}
|
lastseven[fourweeks[i]['date']] = {}
|
||||||
if fourweeks[i]['entity'] == 'contract':
|
if fourweeks[i]['entity'] == 'contract':
|
||||||
|
|||||||
Reference in New Issue
Block a user