mirror of https://github.com/nicolargo/glances.git
Workaround for Python error after upgrading from 2.5.1 to 2.6 (issue #813)
This commit is contained in:
parent
a8a6be3d7d
commit
2a3ff01dff
|
|
@ -208,7 +208,7 @@ class Plugin(GlancesPlugin):
|
|||
msg, self.get_views(item=i[self.get_key()],
|
||||
key='value',
|
||||
option='decoration')))
|
||||
except ValueError:
|
||||
except (TypeError, ValueError):
|
||||
pass
|
||||
|
||||
return ret
|
||||
|
|
|
|||
Loading…
Reference in New Issue