summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/Captcha9kw.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/hooks/Captcha9kw.py
parent[SimpleHoster] Direct download link support (diff)
downloadpyload-146fe1e309c33ab149bfaf58ad86c0dd4fb9b156.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/Captcha9kw.py')
-rwxr-xr-xmodule/plugins/hooks/Captcha9kw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/Captcha9kw.py b/module/plugins/hooks/Captcha9kw.py
index 7bbfa2e73..eb6313bc0 100755
--- a/module/plugins/hooks/Captcha9kw.py
+++ b/module/plugins/hooks/Captcha9kw.py
@@ -137,7 +137,7 @@ class Captcha9kw(Hook):
self.logInfo(_("Request correct"), response)
except BadHeader, e:
- self.logError(_("Could not send correct request"), repr(e))
+ self.logError(_("Could not send correct request"), str(e))
else:
self.logError(_("No CaptchaID for correct request (task %s) found") % task)
@@ -157,6 +157,6 @@ class Captcha9kw(Hook):
self.logInfo(_("Request refund"), response)
except BadHeader, e:
- self.logError(_("Could not send refund request"), repr(e))
+ self.logError(_("Could not send refund request"), str(e))
else:
self.logError(_("No CaptchaID for not correct request (task %s) found") % task)