mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-08 16:03:38 +00:00
Fixing another indentation error
Fixing various errors and adding changelog
This commit is contained in:
parent
28e9a91173
commit
d75800e8d3
2 changed files with 12 additions and 8 deletions
|
|
@ -92,14 +92,14 @@ 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:
|
||||
if data["ric"] in globalVars.config.get("gpiocontrol", "activerics"):
|
||||
th = threading.Thread(target = trigger)
|
||||
th.start()
|
||||
else:
|
||||
logging.info("Ric not in activerics")
|
||||
th = threading.Thread(target = trigger)
|
||||
th.start()
|
||||
else:
|
||||
if data["ric"] in globalVars.config.get("gpiocontrol", "activerics"):
|
||||
th = threading.Thread(target = trigger)
|
||||
th.start()
|
||||
else:
|
||||
logging.info("Ric not in activerics")
|
||||
else:
|
||||
logging.warning("Invalid Typ: %s", typ)
|
||||
########## User Plugin CODE ##########
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue