mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-06 06:53:32 +00:00
Update Telegram.py
This commit is contained in:
parent
78092389e9
commit
d7896459ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue