config test

This commit is contained in:
David 2023-01-04 12:52:19 +01:00
parent e7fa6d3473
commit d27d6c805d

View File

@ -85,9 +85,10 @@ class Stats:
res = None
while res is None:
res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""")
time.sleep(60)
if res is None:
sys.exit('Traitement en cours, base de données indisponible')
time.sleep(60)
#if res is None:
# sys.exit('Traitement en cours, base de données indisponible')
consolided = {}
moy_conf_by_day = 0