summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ImageTyperz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-30 14:37:44 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-30 14:37:44 +0200
commit88f98ab3bd6e091c1b6ca6ac9fddc37b2e29694c (patch)
tree2d32aa128cd0d660fc2642fb6aca789871bd80b8 /module/plugins/hooks/ImageTyperz.py
parentStill improving _log methods (diff)
downloadpyload-88f98ab3bd6e091c1b6ca6ac9fddc37b2e29694c.tar.xz
Fix get_code call in captcha hooks
Diffstat (limited to 'module/plugins/hooks/ImageTyperz.py')
-rw-r--r--module/plugins/hooks/ImageTyperz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/ImageTyperz.py b/module/plugins/hooks/ImageTyperz.py
index d453122d0..42ab99027 100644
--- a/module/plugins/hooks/ImageTyperz.py
+++ b/module/plugins/hooks/ImageTyperz.py
@@ -148,7 +148,7 @@ class ImageTyperz(Hook):
try:
ticket, result = self.submit(c)
except ImageTyperzException, e:
- task.error = e.getCode()
+ task.error = e.get_code()
return
task.data['ticket'] = ticket