summaryrefslogtreecommitdiffstats
path: root/module/plugins/PluginManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-18 22:33:06 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-18 22:33:06 +0100
commitd79c1b3a6d1a6481b77598edf71fcb53eb6bb655 (patch)
tree04746ec4511a4d3e134a3781cb7e68dc3974411c /module/plugins/PluginManager.py
parentyoutube fix, xdccrequest abort dl implemented (diff)
downloadpyload-d79c1b3a6d1a6481b77598edf71fcb53eb6bb655.tar.xz
closed #242, #243, #244
Diffstat (limited to 'module/plugins/PluginManager.py')
-rw-r--r--module/plugins/PluginManager.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 1e42e5a63..a911cdd1e 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -282,8 +282,12 @@ class PluginManager():
if value.has_key("class"):
classes.append(value["class"])
continue
-
- if not self.core.config.getPlugin(name, "load"):
+
+ try:
+ if not self.core.config.getPlugin(name, "load"):
+ continue
+ except:
+ self.log.debug("Failed to load %s" % name)
continue
try: