Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove whitespace in time output
  • Loading branch information
2bndy5 committed Apr 18, 2022
commit 9754d0db03bbe2a2ac3fa8eadc262e086a9e8f7a
6 changes: 3 additions & 3 deletions compilesketches/compilesketches.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,9 +916,9 @@ class CompilationResult:
time_summary = ""
if diff_time > 60:
if diff_time > 360:
time_summary += f"{int(diff_time / 360)} h "
time_summary += f"{int(diff_time / 60) % 60} m "
time_summary += f"{int(diff_time) % 60} s"
time_summary += f"{int(diff_time / 360)}h "
time_summary += f"{int(diff_time / 60) % 60}m "
time_summary += f"{int(diff_time) % 60}s"
print("Compilation time elapsed", time_summary)

return CompilationResult()
Expand Down