mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
Update Telegram.py
This commit is contained in:
parent
78092389e9
commit
d7896459ca
|
|
@ -78,7 +78,7 @@ def run(typ,freq,data):
|
|||
try:
|
||||
########## User Plugin CODE ##########
|
||||
try:
|
||||
if typ == "POC" or typ == "FMS" or typ == "ZVEI":
|
||||
if typ in ("POC", "FMS", "ZVEI"):
|
||||
logging.debug("Read format and compose output for %s-message" % typ)
|
||||
# compose message content
|
||||
text = globalVars.config.get("Telegram", "%s_message" % typ)
|
||||
|
|
|
|||
Loading…
Reference in a new issue