now you must only activate the description tool in the needed section, not global

This commit is contained in:
Schrolli 2015-07-01 10:41:23 +02:00
parent 7322d2b709
commit 5b875b4def
2 changed files with 5 additions and 9 deletions

View file

@ -234,7 +234,7 @@ try:
from includes import pluginLoader
pluginLoader.loadPlugins()
except:
# we couldn't work without filters -> exit
# we couldn't work without plugins -> exit
logging.critical("cannot load Plugins")
logging.debug("cannot load Plugins", exc_info=True)
exit(1)
@ -256,7 +256,7 @@ try:
# Load description lists
#
try:
if globals.config.getboolean("BOSWatch","useDescription"):
if globals.config.getboolean("FMS","idDescribed") or globals.config.getboolean("ZVEI","idDescribed") or globals.config.getboolean("POC","idDescribed"):
from includes import descriptionList
descriptionList.loadDescriptionLists()
except:

View file

@ -27,10 +27,6 @@ backupCount = 7
# Filter-configuration in section [Filters]
useRegExFilter = 0
# Using Description (0|1)
# You have to be enabled it for every typ in the sections below too
useDescription = 0
# for double check save the last n IDs
# it is used in combination with double_ignore_time
# 1 is required if you want to use the double alarm filter
@ -48,12 +44,12 @@ doubleFilter_check_msg = 0
[FMS]
# look-up-table for adding a description
# turn on functionality (0|1)
# Using Description (0|1)
idDescribed = 0
[ZVEI]
# look-up-table for adding a description
# turn on functionality (0|1)
# Using Description (0|1)
idDescribed = 0
[POC]
@ -71,7 +67,7 @@ filter_range_start = 0000000
filter_range_end = 9999999
# look-up-table for adding a description
# turn on functionality (0|1)
# Using Description (0|1)
idDescribed = 0