config test

This commit is contained in:
David 2022-12-19 15:01:18 +01:00
parent c9d2c365d5
commit 0995be0701

View File

@ -82,7 +82,7 @@ class Stats:
return octets,unit return octets,unit
def parse(self): def parse(self):
res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate}""") res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""")
consolided = {} consolided = {}
for line in res: for line in res:
field = line[2] field = line[2]