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
when pitop is initialized on macOS and CPU utilization is 0 the current issue arises:
this issue is not present on linux