config test
This commit is contained in:
parent
e7fa6d3473
commit
d27d6c805d
@ -85,9 +85,10 @@ class Stats:
|
|||||||
res = None
|
res = None
|
||||||
while res is None:
|
while res is None:
|
||||||
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""")
|
||||||
time.sleep(60)
|
if res is None:
|
||||||
if res is None:
|
time.sleep(60)
|
||||||
sys.exit('Traitement en cours, base de données indisponible')
|
#if res is None:
|
||||||
|
# sys.exit('Traitement en cours, base de données indisponible')
|
||||||
|
|
||||||
consolided = {}
|
consolided = {}
|
||||||
moy_conf_by_day = 0
|
moy_conf_by_day = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user