Forgot to generate last day of a month...

This commit is contained in:
Grégory Soutadé 2015-03-02 18:26:42 +01:00
parent 9d9e42f66d
commit ab1167c621

View File

@ -656,6 +656,7 @@ class IWLA(object):
return False return False
self.analyse_started = True self.analyse_started = True
if cur_time.tm_mon != t.tm_mon: if cur_time.tm_mon != t.tm_mon:
self._generateDayStats()
self._generateMonthStats() self._generateMonthStats()
self.current_analysis = self._deserialize(self.getDBFilename(t)) or self._clearVisits() self.current_analysis = self._deserialize(self.getDBFilename(t)) or self._clearVisits()
elif cur_time.tm_mday != t.tm_mday: elif cur_time.tm_mday != t.tm_mday: