From ed56a8962c9e98e30108d9085841ca158696cd1d Mon Sep 17 00:00:00 2001 From: nicolargo Date: Tue, 6 Feb 2018 21:28:11 +0100 Subject: [PATCH] Correct https://github.com/nicolargo/glances/issues/1105#issuecomment-363553788 --- glances/plugins/glances_processlist.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glances/plugins/glances_processlist.py b/glances/plugins/glances_processlist.py index 682adc21..09f9df9a 100644 --- a/glances/plugins/glances_processlist.py +++ b/glances/plugins/glances_processlist.py @@ -532,6 +532,9 @@ class Plugin(GlancesPlugin): if key not in p: # Correct issue #1188 continue + if p[key] is None: + # Correct https://github.com/nicolargo/glances/issues/1105#issuecomment-363553788 + continue if indice is None: ret += p[key] else: