mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-21 06:13:39 +00:00
little changes in template modul
This commit is contained in:
parent
2b2f8c54e6
commit
367e68e5fe
2 changed files with 7 additions and 6 deletions
|
|
@ -5,7 +5,8 @@ import logging # Global logger
|
|||
import globals # Global variables
|
||||
|
||||
def run(typ,freq,data):
|
||||
try:
|
||||
logging.info("ZVEI: %s wurde auf %s empfangen!", data["zvei"],freq)
|
||||
except:
|
||||
logging.exception("Error in Template Plugin")
|
||||
try:
|
||||
if typ == "ZVEI":
|
||||
logging.info("ZVEI: %s wurde auf %s empfangen!", data["zvei"],freq)
|
||||
except:
|
||||
logging.exception("Error in Template Plugin")
|
||||
Loading…
Add table
Add a link
Reference in a new issue