From 4ba2cd415edb562b8fd472d97014d719bbe9b687 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 6 Jul 2014 20:48:43 +0200 Subject: Use Base log methods --- module/plugins/Hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/Hook.py') diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py index 31f8d60f4..ef3d978a5 100644 --- a/module/plugins/Hook.py +++ b/module/plugins/Hook.py @@ -55,7 +55,7 @@ class Hook(Base): event_list = None # dont make duplicate entries in event_map - #: periodic call interval in secondc + #: periodic call interval in seconds interval = 60 def __init__(self, core, manager): @@ -100,7 +100,7 @@ class Hook(Base): try: if self.isActivated(): self.periodical() except Exception, e: - self.core.log.error(_("Error executing hooks: %s") % str(e)) + self.logError(_("Error executing hooks: %s") % str(e)) if self.core.debug: print_exc() -- cgit v1.2.3