mirror of https://github.com/nicolargo/glances.git
Glances crash after installing module for shown GPU informations on Windows 10 #1800
This commit is contained in:
parent
a676c875e5
commit
9957363ab7
8
NEWS.rst
8
NEWS.rst
|
|
@ -2,12 +2,12 @@
|
|||
Glances Version 3
|
||||
==============================================================================
|
||||
|
||||
Version 3.1.7
|
||||
=============
|
||||
Version 3.1.6.1
|
||||
===============
|
||||
|
||||
This version is under development.
|
||||
Bugs corrected:
|
||||
|
||||
Please have a look on the roadmap: https://github.com/nicolargo/glances/milestone/47
|
||||
* Glances crash after installing module for shown GPU informations on Windows 10 #1800
|
||||
|
||||
Version 3.1.6
|
||||
=============
|
||||
|
|
|
|||
|
|
@ -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.7_beta'
|
||||
__version__ = '3.1.6.1'
|
||||
__author__ = 'Nicolas Hennion <nicolas@nicolargo.com>'
|
||||
__license__ = 'LGPLv3'
|
||||
|
||||
|
|
|
|||
|
|
@ -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...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue