mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
load filters in boswatch.py
This commit is contained in:
parent
45159aa16e
commit
206463f8e9
|
|
@ -136,11 +136,15 @@ try:
|
|||
fh.setLevel(globals.config.getint("BOSWatch","loglevel"))
|
||||
except:
|
||||
logging.exception("cannot set loglevel of fileHandler")
|
||||
|
||||
|
||||
#load plugins
|
||||
from includes import pluginLoader
|
||||
pluginLoader.loadPlugins()
|
||||
|
||||
#load filters
|
||||
from includes import filter
|
||||
filter.getFilters()
|
||||
|
||||
try:
|
||||
#start rtl_fm
|
||||
logging.debug("starting rtl_fm")
|
||||
|
|
|
|||
|
|
@ -42,4 +42,4 @@ def checkFilters(data,typ,plugin):
|
|||
return True
|
||||
|
||||
except:
|
||||
logging.exception("")
|
||||
logging.exception("Error in Filter checking")
|
||||
Loading…
Reference in a new issue