diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-06 20:48:43 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-06 20:48:43 +0200 |
commit | 4ba2cd415edb562b8fd472d97014d719bbe9b687 (patch) | |
tree | 3533a59283fa1470162c16a970b226c065a5ecef /module/plugins/Hook.py | |
parent | Fix account checkLogin (diff) | |
download | pyload-4ba2cd415edb562b8fd472d97014d719bbe9b687.tar.xz |
Use Base log methods
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r-- | module/plugins/Hook.py | 4 |
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() |