summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
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 69e922d14..bc79b3c1c 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -77,7 +77,7 @@ class HookManager():
try:
plugin.periodical()
except Exception, e:
- args[0].log.error(_("Error executing hooks: %s") % str(e))
+ self.core.log.error(_("Error executing hooks: %s") % str(e))
if self.core.debug:
traceback.print_exc()