mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-04 15:50:30 +01:00
del typ and freq in adding routine
This commit is contained in:
parent
b52d972c20
commit
f701b6a010
|
|
@ -135,7 +135,7 @@ def decode(freq, decoded):
|
|||
if globalVars.config.getint("multicastAlarm", "multicastAlarm") and (data["msg"] == "" or data["ric"] == globalVars.config.get("multicastAlarm", "multicastAlarm_delimiter_ric")):
|
||||
logging.debug(" - multicastAlarm without msg")
|
||||
from includes import multicastAlarm
|
||||
multicastAlarm.newEntrymultiList("POC", freq, data)
|
||||
multicastAlarm.newEntrymultiList(data)
|
||||
|
||||
# multicastAlarm processing if enabled and alarm message has been received
|
||||
elif globalVars.config.getint("multicastAlarm", "multicastAlarm") and data["msg"] != "" and data["ric"] == globalVars.config.get("multicastAlarm", "multicastAlarm_ric"):
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ from includes import globalVars # Global variables
|
|||
|
||||
multiList = []
|
||||
|
||||
def newEntrymultiList(typ, freq, data):
|
||||
def newEntrymultiList(data):
|
||||
"""
|
||||
add entry to multi alarm list and remove old entries
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue