mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
rename modules to plugins in config
This commit is contained in:
parent
2d64d468a8
commit
f32b6c73cf
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue