-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingmacOSissue is present on macOSissue is present on macOS
Description
when pitop is initialized on macOS and CPU utilization is 0 the current issue arises:
line 143, in <module>
process_items = urwid.SimpleFocusListWalker(get_process_list())
^^^^^^^^^^^^^^^^^^
File "~/pitop/pitop/./pitop.py", line 131, in get_process_list
process_list.append(ProcessRow(proc_info))
^^^^^^^^^^^^^^^^^^^^^
File "~/pitop/pitop/./pitop.py", line 16, in __init__
cpu = f"{proc_info['cpu_percent']:.1f}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unsupported format string passed to NoneType.__format__
this issue is not present on linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmacOSissue is present on macOSissue is present on macOS