rename modules to plugins in config

This commit is contained in:
Bastian Schroll 2015-05-19 22:11:06 +02:00
parent 2d64d468a8
commit f32b6c73cf
2 changed files with 4 additions and 3 deletions

View file

@ -17,11 +17,12 @@ filter_range_start = 0000000
filter_range_end = 9999999
#can take on or off the modules (0|1)
[Module]
#can take on or off the plugins (0|1)
[Plugins]
BosMon = 0
# for developing template-module is enabled
template = 1
#none has no function, only demo
none = 1
[BosMon]

View file

@ -20,7 +20,7 @@ def getPlugins():
# is the plugin enabled in the config-file?
try:
usePlugin = int(globals.config.get("Module", i))
usePlugin = int(globals.config.get("Plugins", i))
except: #no entry for plugin found in config-file, skip
logging.warning("Plugin not in config: "+i)