Merge pull request #232 from MikeTheWatchGuy/Dev-latest
Wasn't computing individual amounts correctly.
This commit is contained in:
commit
9844cfda94
1 changed files with 1 additions and 1 deletions
|
@ -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 --------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue