From 28e9a9117379956ff24d87d73d3c1609fdc4eb46 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 28 Jul 2020 23:35:17 +0200 Subject: [PATCH] Update gpiocontrol.py Fixing indentation-error reported on #458 --- plugins/gpiocontrol/gpiocontrol.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/gpiocontrol/gpiocontrol.py b/plugins/gpiocontrol/gpiocontrol.py index 7662fe8..f7daf90 100644 --- a/plugins/gpiocontrol/gpiocontrol.py +++ b/plugins/gpiocontrol/gpiocontrol.py @@ -92,9 +92,9 @@ def run(typ,freq,data): #logging.warning("%s not supported", typ) elif typ == "POC": if globalVars.config.get("gpiocontrol", "activerics") == "": - th = threading.Thread(target = trigger) - th.start() - else + th = threading.Thread(target = trigger) + th.start() + else: if data["ric"] in globalVars.config.get("gpiocontrol", "activerics"): th = threading.Thread(target = trigger) th.start()