From 0d618b8986c20f735ee25501076041f2681adbdd Mon Sep 17 00:00:00 2001 From: zhangsf Date: Wed, 14 Nov 2018 16:10:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dres=E4=B8=BANone=E6=97=B6?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alive-ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alive-ping.py b/alive-ping.py index baa81cd..d7e187a 100644 --- a/alive-ping.py +++ b/alive-ping.py @@ -67,7 +67,7 @@ def alive(step): pool.join() for res in result: - if res: + if res and res.get(): metrics.extend(res.get()) metric_handler.push_metrics(metrics)