summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/DeathByCaptcha.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/DeathByCaptcha.py')
-rw-r--r--module/plugins/hooks/DeathByCaptcha.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/DeathByCaptcha.py b/module/plugins/hooks/DeathByCaptcha.py
index c27db422b..98572191e 100644
--- a/module/plugins/hooks/DeathByCaptcha.py
+++ b/module/plugins/hooks/DeathByCaptcha.py
@@ -209,7 +209,7 @@ class DeathByCaptcha(Hook):
try:
ticket, result = self.submit(c)
except DeathByCaptchaException, e:
- task.error = e.getCode()
+ task.error = e.get_code()
self.log_error(e.getDesc())
return