mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
getint in pluginloader
This commit is contained in:
parent
9cb9387086
commit
85aa727115
|
|
@ -20,7 +20,7 @@ def getPlugins():
|
|||
|
||||
# is the plugin enabled in the config-file?
|
||||
try:
|
||||
usePlugin = int(globals.config.get("Plugins", i))
|
||||
usePlugin = globals.config.getint("Plugins", i)
|
||||
except: #no entry for plugin found in config-file, skip
|
||||
logging.warning("Plugin not in config: %s", i)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue