mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 14:07:25 +00:00
rename filter to regexFilter
to prevent to redifine an builtin function
This commit is contained in:
parent
76dbdc0692
commit
e8e870849d
3 changed files with 4 additions and 4 deletions
|
|
@ -77,8 +77,8 @@ def processAlarm(typ, freq, data):
|
|||
for pluginName, plugin in globals.pluginList.items():
|
||||
# if enabled use RegEx-filter
|
||||
if globals.config.getint("BOSWatch","useRegExFilter"):
|
||||
from includes import filter
|
||||
if filter.checkFilters(typ, data, pluginName, freq):
|
||||
from includes import regexFilter
|
||||
if regexFilter.checkFilters(typ, data, pluginName, freq):
|
||||
logging.debug("call Plugin: %s", pluginName)
|
||||
try:
|
||||
plugin.run(typ, freq, data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue