mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-20 07:10:16 +01:00
parent
b4bb32a41b
commit
28e9a91173
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue