Skip to content

Commit 3caa586

Browse files
authored
Fix run_time string slicing in summary display
1 parent acb283a commit 3caa586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/downloader/full_run_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _check_certificates(self) -> bool:
170170
return False
171171

172172
def _display_summary(self, box: InstallationBox, start_time) -> None:
173-
run_time = str(datetime.timedelta(seconds=time.monotonic() - start_time))[0:-4]
173+
run_time = str(datetime.timedelta(seconds=time.monotonic() - start_time))[2:-4]
174174

175175
self._logger.print()
176176
self._logger.print('===========================')

0 commit comments

Comments
 (0)