Update gpiocontrol.py

Fixing indentation-error reported on #458
This commit is contained in:
Florian 2020-07-28 23:35:17 +02:00 committed by GitHub
parent b4bb32a41b
commit 28e9a91173
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()