1
0
Fork 0

Merge pull request #189 from simon987/fix-summary-188

Fix for #188
This commit is contained in:
Nick Sweeting 2019-03-21 21:25:31 -04:00 committed by GitHub
commit cfdb101c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ def log_archiving_paused(num_links, idx, timestamp):
def log_archiving_finished(num_links):
end_ts = datetime.now()
_LAST_RUN_STATS['end_ts'] = end_ts
seconds = end_ts - _LAST_RUN_STATS['start_ts'].timestamp()
seconds = end_ts.timestamp() - _LAST_RUN_STATS['start_ts'].timestamp()
if seconds > 60:
duration = '{0:.2f} min'.format(seconds / 60, 2)
else: