From d5d063cd13dd5f96e10e991c63d800665b058d5c Mon Sep 17 00:00:00 2001 From: Cameron Brown Date: Thu, 19 Oct 2023 18:14:03 -0400 Subject: [PATCH] Subtract one from the week counter when adding Ns to reports --- src/reports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reports.py b/src/reports.py index 46314cb..37e1774 100644 --- a/src/reports.py +++ b/src/reports.py @@ -169,7 +169,7 @@ async def add_no(self): first_date = datetime.date(2023, 9, 24) today = datetime.date.today() week = (today - first_date).days // 7 + 1 - column = week + self.TOTAL_COLUMNS + column = week + self.TOTAL_COLUMNS - 1 # -1 because the week has now passed # Add a "N" to all rows that do not currently have a value names = await main_worksheet.col_values(1)