From 92e0ab385adb9da4824f8c6fbe6354c540f4f83b Mon Sep 17 00:00:00 2001 From: Dan Hamik Date: Tue, 26 Nov 2024 12:37:16 -0600 Subject: [PATCH] debugging --- logpingresult.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logpingresult.py b/logpingresult.py index 1a9e086..3039cb8 100644 --- a/logpingresult.py +++ b/logpingresult.py @@ -19,7 +19,7 @@ infdbpass = os.environ["INFLUX_PASSWORD"] influxuri = os.environ["INFLUX_URI"] pingaddresses = os.environ["PING_HOSTS"].split(",") while(True): - if len(pingaddresses>0): + if len(pingaddresses) > 0: print(pingaddresses) for ip in pingaddresses: print(ip)