mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-29 15:32:25 +03:00
Remove code duplication
This commit is contained in:
parent
1ba459e696
commit
59fc36e334
@ -359,10 +359,7 @@ class Plugin(GlancesPlugin):
|
||||
return ret
|
||||
|
||||
# Compute the sort key
|
||||
if glances_processes.getmanualsortkey() is None:
|
||||
process_sort_key = glances_processes.getautosortkey()
|
||||
else:
|
||||
process_sort_key = glances_processes.getmanualsortkey()
|
||||
process_sort_key = glances_processes.getsortkey()
|
||||
sort_style = 'SORT'
|
||||
|
||||
# Header
|
||||
|
Loading…
Reference in New Issue
Block a user