Fix spent time calculation
This commit is contained in:
parent
62fcfe5881
commit
45c2480778
@ -109,7 +109,8 @@ def main():
|
||||
backup.release_backups_lock(backups_dir_abs)
|
||||
|
||||
end_time = time.time()
|
||||
_lg.info("Finished, time spent: %s", str(timedelta(end_time - start_time)))
|
||||
spent_time = end_time - start_time
|
||||
_lg.info("Finished, time spent: %s", str(timedelta(seconds=spent_time)))
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user