diff --git a/includes/decoders/poc.py b/includes/decoders/poc.py index 9490843..fe7f724 100644 --- a/includes/decoders/poc.py +++ b/includes/decoders/poc.py @@ -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 diff --git a/includes/multicastAlarm.py b/includes/multicastAlarm.py index 7d9c3d2..ec9e13d 100644 --- a/includes/multicastAlarm.py +++ b/includes/multicastAlarm.py @@ -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)