From f9ed383badf073d5e740f0a2837f7f8b3bae13d8 Mon Sep 17 00:00:00 2001 From: Simon Tennant Date: Tue, 14 May 2019 13:36:26 +0200 Subject: [PATCH] fix typo --- openhab2-exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhab2-exporter.py b/openhab2-exporter.py index ce355c1..8358537 100644 --- a/openhab2-exporter.py +++ b/openhab2-exporter.py @@ -36,7 +36,7 @@ def print_metrics(metrics, type, timestamp): name = metric['name'] value = metric['state'] - if value is None or value == 'NULL' or value == 'UNDEF': continue + if value is None or value == 'NULL' or value == 'UNDEF': continue if metric['type'].lower() == 'switch':