summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-06 20:48:43 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-06 20:48:43 +0200
commit4ba2cd415edb562b8fd472d97014d719bbe9b687 (patch)
tree3533a59283fa1470162c16a970b226c065a5ecef /module/plugins/Hook.py
parentFix account checkLogin (diff)
downloadpyload-4ba2cd415edb562b8fd472d97014d719bbe9b687.tar.xz
Use Base log methods
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r--module/plugins/Hook.py4
1 files changed, 2 insertions, 2 deletions
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()