config test
This commit is contained in:
parent
dd580e6bd9
commit
e1e10f5c47
@ -90,6 +90,8 @@ class Stats:
|
|||||||
if len(self.files) <= 0:
|
if len(self.files) <= 0:
|
||||||
return None
|
return None
|
||||||
for f in self.files:
|
for f in self.files:
|
||||||
|
if '.db' in f:
|
||||||
|
continue
|
||||||
ts = int(f.split('.')[0].split('_')[3])
|
ts = int(f.split('.')[0].split('_')[3])
|
||||||
if ts >= self.startDate and ts <= self.endDate:
|
if ts >= self.startDate and ts <= self.endDate:
|
||||||
with open(f"{STAT_DIR}/{f}") as fh:
|
with open(f"{STAT_DIR}/{f}") as fh:
|
||||||
|
Loading…
Reference in New Issue
Block a user