summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS.rst7
-rw-r--r--docs/man/glances.12
-rw-r--r--glances/__init__.py2
-rw-r--r--glances/plugins/glances_plugin.py2
4 files changed, 10 insertions, 3 deletions
diff --git a/NEWS.rst b/NEWS.rst
index 37570a3b..b0f33bc4 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,13 @@
Glances Version 3
==============================================================================
+Version 3.1.6.1
+===============
+
+Bugs corrected:
+
+ * Glances crash after installing module for shown GPU informations on Windows 10 #1800
+
Version 3.1.6
=============
diff --git a/docs/man/glances.1 b/docs/man/glances.1
index b8ccf045..a23fc394 100644
--- a/docs/man/glances.1
+++ b/docs/man/glances.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GLANCES" "1" "Jan 23, 2021" "3.1.6" "Glances"
+.TH "GLANCES" "1" "Jan 24, 2021" "3.1.6.1" "Glances"
.SH NAME
glances \- An eye on your system
.
diff --git a/glances/__init__.py b/glances/__init__.py
index b42ec3ff..1b3af1fd 100644
--- a/glances/__init__.py
+++ b/glances/__init__.py
@@ -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'
+__version__ = '3.1.6.1'
__author__ = 'Nicolas Hennion <nicolas@nicolargo.com>'
__license__ = 'LGPLv3'
diff --git a/glances/plugins/glances_plugin.py b/glances/plugins/glances_plugin.py
index 5588263d..869cac7b 100644
--- a/glances/plugins/glances_plugin.py
+++ b/glances/plugins/glances_plugin.py
@@ -498,7 +498,7 @@ class GlancesPlugin(object):
'additional': False,
'splittable': False,
'hidden': False,
- '_zero': self.views[i[self.get_key()]][key]['_zero'] if i[self.get_key()] in self.views and key in self.views[i[self.get_key()]] else True}
+ '_zero': self.views[i[self.get_key()]][key]['_zero'] if i[self.get_key()] in self.views and key in self.views[i[self.get_key()]] and 'zero' in self.views[i[self.get_key()]][key] else True}
ret[i[self.get_key()]][key] = value
elif isinstance(self.get_raw(), dict) and self.get_raw() is not None:
# Stats are stored in a dict (ex: CPU, LOAD...)