mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-29 07:30:58 +03:00
Correct raise issue on Mac OS X 2/2
This commit is contained in:
parent
04378ec156
commit
3d89e34c21
@ -542,10 +542,10 @@ class GlancesProcesses(object):
|
||||
if mandatory_stats:
|
||||
procstat = self.__get_mandatory_stats(proc, procstat)
|
||||
|
||||
if standard_stats:
|
||||
if procstat is not None and standard_stats:
|
||||
procstat = self.__get_standard_stats(proc, procstat)
|
||||
|
||||
if extended_stats and not self.disable_extended_tag:
|
||||
if procstat is not None and extended_stats and not self.disable_extended_tag:
|
||||
procstat = self.__get_extended_stats(proc, procstat)
|
||||
|
||||
return procstat
|
||||
|
Loading…
Reference in New Issue
Block a user