mirror of https://github.com/nicolargo/glances
On Windows, Glances try to display unexisting Load stats #871
parent
f2a5df0070
commit
1810064852
3
NEWS
3
NEWS
|
@ -34,7 +34,8 @@ Bugs corrected:
|
|||
* [Web UI] Fix folders plugin never displayed (issue #829)
|
||||
* Correct issue IP plugin: VPN with no internet access (issue #842)
|
||||
* Idle process is back on FreeBSD and Windows (issue #844)
|
||||
* Top 3 processes are back in the alert summay
|
||||
* On Windows, Glances try to display unexisting Load stats (issue #871)
|
||||
* Top 3 processes are back in the alert summary
|
||||
|
||||
Version 2.6.1
|
||||
=============
|
||||
|
|
|
@ -136,8 +136,8 @@ class Plugin(GlancesPlugin):
|
|||
# Init the return message
|
||||
ret = []
|
||||
|
||||
# Only process if stats exist and plugin not disabled
|
||||
if not self.stats or args.disable_load:
|
||||
# Only process if stats exist, not empty (issue #871) and plugin not disabled
|
||||
if not self.stats or (self.stats == {}) or args.disable_load:
|
||||
return ret
|
||||
|
||||
# Build the string message
|
||||
|
|
Loading…
Reference in New Issue