This commit is contained in:
Barbara Miller 2020-04-07 09:27:21 -07:00
parent f4f0c02064
commit d2b8171fb0

View File

@ -156,6 +156,7 @@ class ElapsedMixIn(object):
if ss['stop']: if ss['stop']:
dt += (ss['stop'] - ss['start']).total_seconds() dt += (ss['stop'] - ss['start']).total_seconds()
else: else:
self.logger.warning("missing expected ss['stop']")
dt += (doublethink.utcnow() - ss['start']).total_seconds() dt += (doublethink.utcnow() - ss['start']).total_seconds()
ss = self.starts_and_stops[-1] ss = self.starts_and_stops[-1]
if ss['stop']: if ss['stop']: