summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 22:33:41 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 22:33:41 +0200
commit67fb22b2f84aa9d3f8a8a966932f6191db7ead00 (patch)
tree83e83c506f4e08a94584543f4bd4876d4e11cbc4 /module/plugins
parentfixed download aborting #2 (diff)
downloadpyload-67fb22b2f84aa9d3f8a8a966932f6191db7ead00.tar.xz
clsoed #352
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/PluginManager.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 333f9e247..94c20cd5a 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -182,7 +182,10 @@ class PluginManager():
if folder == "hooks":
config.append(["load", "bool", "Load on startup", True if name not in NO_AUTOLOAD else False])
- self.core.config.addPluginConfig(name, config, desc)
+ try:
+ self.core.config.addPluginConfig(name, config, desc)
+ except :
+ self.log.error("Invalid config in %s: %s" % (name, config))
if not home:
temp = self.parse(typ, folder, create, pattern, plugins)