rename pluginHander.py->alarmHandler.py

Method rename:
throwAlarm() ->processAlarm()
This commit is contained in:
Bastian Schroll 2015-05-22 21:32:37 +02:00
parent 82a837c19e
commit 26c9e23db8
3 changed files with 19 additions and 19 deletions

14
includes/alarmHandler.py Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/python
# -*- coding: cp1252 -*-
import logging
from includes import globals # Global variables
from includes import pluginloader
def processAlarm(typ,freq,data):
logging.debug("[ ALARM ]")
for name, plugin in globals.pluginList.items():
logging.debug("call Plugin: %s", name)
plugin.run(typ,freq,data)
logging.debug("[END ALARM]")