minor fix
This commit is contained in:
parent
5ec2407211
commit
b5c3a12193
@ -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']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user