From d27d6c805d12158e2ce59a5e3ca4273c9e6bde70 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 4 Jan 2023 12:52:19 +0100 Subject: [PATCH] config test --- statistiques/parseStats.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/statistiques/parseStats.py b/statistiques/parseStats.py index 107d367..a8c87be 100755 --- a/statistiques/parseStats.py +++ b/statistiques/parseStats.py @@ -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') + if res is None: + time.sleep(60) + #if res is None: + # sys.exit('Traitement en cours, base de données indisponible') consolided = {} moy_conf_by_day = 0