del typ and freq in adding routine

This commit is contained in:
Bastian Schroll 2017-10-03 12:08:04 +02:00
parent b52d972c20
commit f701b6a010
2 changed files with 2 additions and 2 deletions

View file

@ -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"):

View file

@ -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