diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-26 17:02:09 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-26 17:02:09 +0100 |
commit | da966da78926825ccfebcfa5049320c4834c1bba (patch) | |
tree | c54f82c270762556d7642226bbf2753837cf0a17 /module/plugins/PluginManager.py | |
parent | float fix (diff) | |
download | pyload-da966da78926825ccfebcfa5049320c4834c1bba.tar.xz |
little improvments
Diffstat (limited to 'module/plugins/PluginManager.py')
-rw-r--r-- | module/plugins/PluginManager.py | 4 |
1 files changed, 3 insertions, 1 deletions
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) |