summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 01:18:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 01:18:45 +0100
commit146fe1e309c33ab149bfaf58ad86c0dd4fb9b156 (patch)
tree22bf2ace19d926392dbe7ba48e44c13c63cd368a /module/plugins/Hook.py
parent[SimpleHoster] Direct download link support (diff)
downloadpyload-146fe1e309c33ab149bfaf58ad86c0dd4fb9b156.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r--module/plugins/Hook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 4d43b70f7..5710aae84 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -91,7 +91,7 @@ class Hook(Base):
try:
if self.isActivated(): self.periodical()
except Exception, e:
- self.core.log.error(_("Error executing hooks: %s") % str(e))
+ self.core.log.error(_("Error executing hooks: ") + str(e))
if self.core.debug:
print_exc()