config test

This commit is contained in:
David 2022-12-18 23:53:17 +01:00
parent dd580e6bd9
commit e1e10f5c47

View File

@ -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: