Merge pull request #232 from MikeTheWatchGuy/Dev-latest

Wasn't computing individual amounts correctly.
This commit is contained in:
MikeTheWatchGuy 2018-09-15 20:12:49 -04:00 committed by GitHub
commit 9844cfda94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def main():
top_sorted.pop(0)
display_string = ''
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 --------