From e1e10f5c475d788c6b8bed50fba6e0f0cf4c8983 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 18 Dec 2022 23:53:17 +0100 Subject: [PATCH] config test --- statistiques/parseStats.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/statistiques/parseStats.py b/statistiques/parseStats.py index 5f90894..1f5b48c 100755 --- a/statistiques/parseStats.py +++ b/statistiques/parseStats.py @@ -90,6 +90,8 @@ class Stats: if len(self.files) <= 0: return None for f in self.files: + if '.db' in f: + continue ts = int(f.split('.')[0].split('_')[3]) if ts >= self.startDate and ts <= self.endDate: with open(f"{STAT_DIR}/{f}") as fh: