minor fix

This commit is contained in:
Sokurov Idar 2021-03-18 20:07:21 +03:00
parent 5ec2407211
commit b5c3a12193

View File

@ -381,7 +381,6 @@ class StatisticData:
first_log, last_log = self.data[0], self.data[len(self.data) - 1]
if first_log.old_role == ROLES['engineer']:
self.fill_daterange(self.start_date, first_log.change_time.date())
self.statistic[first_log.change_time.date()] += get_timedelta(first_log).total_seconds()
if last_log.new_role == ROLES['engineer']: