Missing attributeerror catch on Windows...

pull/393/head
Nicolargo 2014-06-21 23:08:32 +02:00
parent f483671802
commit 73f5b3e8d3
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class GlancesProcesses(object):
except (KeyError, psutil.AccessDenied):
try:
self.username_cache[procstat['pid']] = proc.uids().real
except (KeyError, psutil.AccessDenied):
except (KeyError, AttributeError, psutil.AccessDenied):
self.username_cache[procstat['pid']] = "?"
procstat['username'] = self.username_cache[procstat['pid']]