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