diff --git a/boswatch.py b/boswatch.py index 2a8e2de..3cf9867 100755 --- a/boswatch.py +++ b/boswatch.py @@ -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") diff --git a/includes/filter.py b/includes/filter.py index a804466..03beced 100644 --- a/includes/filter.py +++ b/includes/filter.py @@ -42,4 +42,4 @@ def checkFilters(data,typ,plugin): return True except: - logging.exception("") \ No newline at end of file + logging.exception("Error in Filter checking") \ No newline at end of file