summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/CaptchaBrotherhood.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/CaptchaBrotherhood.py')
-rw-r--r--module/plugins/hooks/CaptchaBrotherhood.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/CaptchaBrotherhood.py b/module/plugins/hooks/CaptchaBrotherhood.py
index 42a9a26d9..0df1ab8a9 100644
--- a/module/plugins/hooks/CaptchaBrotherhood.py
+++ b/module/plugins/hooks/CaptchaBrotherhood.py
@@ -161,7 +161,7 @@ class CaptchaBrotherhood(Hook):
try:
ticket, result = self.submit(c)
except CaptchaBrotherhoodException, e:
- task.error = e.getCode()
+ task.error = e.get_code()
return
task.data['ticket'] = ticket