Error when process list is displayed in Programs mode #2209

This commit is contained in:
nicolargo 2023-01-13 09:01:09 +01:00
parent 6923d49aa7
commit 416bbed02e

View File

@ -36,7 +36,7 @@ def processes_to_programs(processes):
'name': p['name'],
'cmdline': [p['name']],
'pid': '_',
'username': p['username'],
'username': p['username'] if 'username' in p else '_',
'nice': p['nice'],
'status': p['status'],
}