Skip to content

Commit

Permalink
PermissionError/OSError when starting glances (issue #885)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Jul 12, 2016
1 parent b5b358a commit 2b87295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Bugs corrected:
* Idle process is back on FreeBSD and Windows (issue #844)
* On Windows, Glances try to display unexisting Load stats (issue #871)
* Check CPU info (issue #881)
* Unicode error on processlist on Windows server 2008 (french) (issue #886)
* Unicode error on processlist on Windows server 2008 (french) (issue #886)
* PermissionError/OSError when starting glances (issue #885)
* Top 3 processes are back in the alert summary

Code quality follow up: from 5.93 to 6.24 (source: https://scrutinizer-ci.com/g/nicolargo/glances)
Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/glances_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def update(self):
netstatus = {}
try:
netstatus = psutil.net_if_stats()
except AttributeError:
except:
pass

# Previous network interface stats are stored in the network_old variable
Expand Down

0 comments on commit 2b87295

Please sign in to comment.