From 67fb22b2f84aa9d3f8a8a966932f6191db7ead00 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 14 Jul 2011 22:33:41 +0200 Subject: clsoed #352 --- module/plugins/PluginManager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/plugins') 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) -- cgit v1.2.3