We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb7d29 commit 6e7ad46Copy full SHA for 6e7ad46
ptop.py
@@ -60,7 +60,9 @@ def ascii_progress_bar(percentage, bar_length=50):
60
lines.extend(new_lines)
61
62
clear_console()
63
- print(ascii_progress_bar(progress(lines, tj)))
+ if tj > 0:
64
+ print(ascii_progress_bar(progress(lines, tj)))
65
+
66
print(
67
"--------------------------------------------------------------"
68
)
0 commit comments