Skip to content

Commit

Permalink
fix: typo totel_jops
Browse files Browse the repository at this point in the history
  • Loading branch information
Apfelholz committed Nov 8, 2024
1 parent df65848 commit 6163c02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ptop.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def parse(input_line: str) -> dict:
return parsed


def progress(lines, total_jops):
return (len(lines) / total_jops) * 100 if total_jops else 0
def progress(lines, total_jobs):
return (len(lines) / total_jobs) * 100 if total_jobs else 0



Expand Down

0 comments on commit 6163c02

Please sign in to comment.