summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-27 22:44:01 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-27 22:44:01 +0200
commitf31082dfaf52c80b3f7ee96ef4390af2d1e9331c (patch)
treed391670f160b5733c218581a0311587710b201a9 /module/HookManager.py
parentreadded speedmanager (diff)
downloadpyload-f31082dfaf52c80b3f7ee96ef4390af2d1e9331c.tar.xz
implemented speedmanager
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index 8a6193d87..8bb8d1d5b 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -48,6 +48,7 @@ class HookManager():
return func(*args)
except Exception, e:
args[0].log.error(_("Error executing hooks: %s") % str(e))
+ traceback.print_exc()
return new
def createIndex(self):
@@ -58,7 +59,6 @@ class HookManager():
#hookClass = getattr(plugin, plugin.__name__)
if self.core.config.getPlugin(pluginClass.__name__, "load"):
- #@TODO handle in pluginmanager
plugin = pluginClass(self.core)
plugins.append(plugin)
self.log.info(_("%(name)s loaded, activated %(value)s") % {"name": pluginClass.__name__, "value": plugin.isActivated() })