Glances version 3.1.6.2

This commit is contained in:
nicolargo 2021-02-07 15:32:31 +01:00
parent 4c6c3d78d9
commit 040528aab2
5 changed files with 13 additions and 4 deletions

View File

@ -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
===============

View File

@ -1,6 +1,6 @@
.\" 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
.

View File

@ -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'

View File

@ -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):

View File

@ -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):