Skip to content
Open
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
4 changes: 3 additions & 1 deletion ptop.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def ascii_progress_bar(percentage, bar_length=50):
lines.extend(new_lines)

clear_console()
print(ascii_progress_bar(progress(lines, tj)))
if tj > 0:
print(ascii_progress_bar(progress(lines, tj)))

print(
"--------------------------------------------------------------"
)
Expand Down
Loading