Correction typo
This commit is contained in:
parent
25fb7339cd
commit
f2e0706a39
@ -83,7 +83,7 @@ class Stats:
|
|||||||
|
|
||||||
def parse(self):
|
def parse(self):
|
||||||
tot_part_start = tot_part_end = 0
|
tot_part_start = tot_part_end = 0
|
||||||
tot_part_stat = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp = {self.startDate} AND key_field = 'total_participants'""")[-1][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.endDate} AND key_field = 'total_participants'""")[-1][0]
|
tot_part_end = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp < {self.endDate} AND key_field = 'total_participants'""")[-1][0]
|
||||||
print(tot_part_end)
|
print(tot_part_end)
|
||||||
print(tot_part_start)
|
print(tot_part_start)
|
||||||
|
Loading…
Reference in New Issue
Block a user