getint in pluginloader

This commit is contained in:
Schrolli 2015-05-20 07:57:08 +02:00
parent 9cb9387086
commit 85aa727115

View file

@ -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)