config test

This commit is contained in:
David 2023-01-02 23:08:23 +01:00
parent f10e8ae322
commit 5fba41dbf0

View File

@ -82,6 +82,7 @@ class Stats:
return octets,unit return octets,unit
def parse(self): def parse(self):
print(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""")
res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""") res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""")
consolided = {} consolided = {}
moy_conf_by_day = 0 moy_conf_by_day = 0