mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
14 lines
361 B
Python
14 lines
361 B
Python
#!/usr/bin/python
|
|
# -*- coding: cp1252 -*-
|
|
|
|
import logging
|
|
|
|
from includes import globals # Global variables
|
|
|
|
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("return from: %s", name)
|
|
logging.debug("[END ALARM]") |