From da966da78926825ccfebcfa5049320c4834c1bba Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 26 Jan 2011 17:02:09 +0100 Subject: little improvments --- module/plugins/PluginManager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins/PluginManager.py') diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py index 10604dc9b..bf9610463 100644 --- a/module/plugins/PluginManager.py +++ b/module/plugins/PluginManager.py @@ -38,6 +38,8 @@ except ImportError: # python 2.5 from module.ConfigParser import IGNORE +NO_AUTOLOAD = ("XMPPInterface", "MultiHome", "Ev0InFetcher") + class PluginManager(): def __init__(self, core): self.core = core @@ -173,7 +175,7 @@ class PluginManager(): config = [list(config)] if folder == "hooks": - config.append( ["load", "bool", "Load on startup", True if name not in ("XMPPInterface", "MultiHome") else False] ) + config.append( ["load", "bool", "Load on startup", True if name not in NO_AUTOLOAD else False] ) for item in config: self.core.config.addPluginConfig([name]+item) -- cgit v1.2.3