mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-29 04:04:03 +03:00
Another patch bis for non root user on Mac OS X - issue #423
This commit is contained in:
parent
5ff1caa051
commit
a296f5cea9
@ -343,7 +343,7 @@ class Plugin(GlancesPlugin):
|
||||
listsorted = sorted(self.stats,
|
||||
key=lambda process: process[sortedby],
|
||||
reverse=sortedreverse)
|
||||
except KeyError, TypeError:
|
||||
except (KeyError, TypeError):
|
||||
listsorted = sorted(self.stats,
|
||||
key=lambda process: process['name'],
|
||||
reverse=False)
|
||||
|
Loading…
Reference in New Issue
Block a user