mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-20 15:20:16 +01:00
del typ and freq in adding routine
This commit is contained in:
parent
f701b6a010
commit
9c446b0660
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue