Wasn't computing individual amounts corectly.

This commit is contained in:
MikeTheWatchGuy 2018-09-15 19:41:41 -04:00
parent e491b756af
commit 77d68f2384
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def main():
top_sorted.pop(0) top_sorted.pop(0)
display_string = '' display_string = ''
for proc, cpu in top_sorted: for proc, cpu in top_sorted:
display_string += '{} {}\n'.format(cpu, proc) display_string += '{:2.2f} {}\n'.format(cpu/10, proc)
# --------- Display timer in window -------- # --------- Display timer in window --------