提交 040528aa 编写于 作者: N nicolargo

Glances version 3.1.6.2

上级 4c6c3d78
......@@ -2,6 +2,13 @@
Glances Version 3
==============================================================================
Version 3.1.6.2
===============
Bugs corrected:
* Remove bad merge for a non tested feature(see https://github.com/nicolargo/glances/issues/1787#issuecomment-774682954)
Version 3.1.6.1
===============
......
.\" Man page generated from reStructuredText.
.
.TH "GLANCES" "1" "Jan 24, 2021" "3.1.6.1" "Glances"
.TH "GLANCES" "1" "Feb 07, 2021" "3.1.6.2" "Glances"
.SH NAME
glances \- An eye on your system
.
......
......@@ -29,7 +29,7 @@ import sys
# Global name
# Version should start and end with a numerical char
# See https://packaging.python.org/specifications/core-metadata/#version
__version__ = '3.1.6.1'
__version__ = '3.1.6.2'
__author__ = 'Nicolas Hennion <nicolas@nicolargo.com>'
__license__ = 'LGPLv3'
......
......@@ -53,7 +53,8 @@ class Plugin(GlancesPlugin):
# We want to display the stat in the curse interface
self.display_curse = True
# Hide stats if it has never been != 0
self.hide_zero = True
self.hide_zero = config.get_bool_value(
self.plugin_name, 'hide_zero', default=False)
self.hide_zero_fields = ['read_bytes', 'write_bytes']
def get_key(self):
......
......@@ -62,7 +62,8 @@ class Plugin(GlancesPlugin):
# We want to display the stat in the curse interface
self.display_curse = True
# Hide stats if it has never been != 0
self.hide_zero = True
self.hide_zero = config.get_bool_value(
self.plugin_name, 'hide_zero', default=False)
self.hide_zero_fields = ['rx', 'tx']
def get_key(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册