From c840841da180c689a74f489b721ee05ce1f7137f Mon Sep 17 00:00:00 2001 From: David Date: Wed, 4 Jan 2023 14:15:36 +0100 Subject: [PATCH] Correction typo --- statistiques/parseStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statistiques/parseStats.py b/statistiques/parseStats.py index b0146f6..474d12c 100755 --- a/statistiques/parseStats.py +++ b/statistiques/parseStats.py @@ -85,7 +85,7 @@ class Stats: def parse(self): tot_part_start = tot_part_end = 0 tot_part_start = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp = {self.startDate} AND key_field = 'total_participants'""")[-1][0] - tot_part_end = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp > 'self.startDae= AND timestamp < {self.endDate} AND key_field = 'total_participants'""") + tot_part_end = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} AND key_field = 'total_participants'""") max_tot = [] for mx in tot_part_end: max_tot.append(int(mx[0]))