del typ and freq in adding routine

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

View file

@ -141,7 +141,7 @@ def decode(freq, decoded):
elif globalVars.config.getint("multicastAlarm", "multicastAlarm") and data["msg"] != "" and data["ric"] == globalVars.config.get("multicastAlarm", "multicastAlarm_ric"):
logging.debug(" - multicastAlarm with message")
from includes import multicastAlarm
multicastAlarm.multicastAlarmExec("POC", freq, data)
multicastAlarm.multicastAlarmExec(freq, data)
else:
# processing the alarm

View file

@ -40,7 +40,7 @@ def newEntrymultiList(data):
multiList = tmpmultiList
def multicastAlarmExec(typ, freq, data):
def multicastAlarmExec(freq, data):
"""
call alarmHandler for every entry in multiList
@ -56,7 +56,7 @@ def multicastAlarmExec(typ, freq, data):
logging.debug("data after update from multiList: %s", data)
try:
from includes import alarmHandler
alarmHandler.processAlarmHandler(typ, freq, data)
alarmHandler.processAlarmHandler("POC", freq, data)
except:
logging.error("processing alarm failed")
logging.debug("processing alarm failed", exc_info=True)