summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/CaptchaService.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/CaptchaService.py')
-rw-r--r--module/plugins/internal/CaptchaService.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py
index 353ac4e13..b3f7841f0 100644
--- a/module/plugins/internal/CaptchaService.py
+++ b/module/plugins/internal/CaptchaService.py
@@ -26,12 +26,8 @@ class CaptchaService(Captcha):
self.fail(_("%s key not found") % self.__name__)
- #@TODO: Recheck in 0.4.10, html is now pyfile.data
def retrieve_data(self):
- if hasattr(self.plugin, "html") and self.plugin.html:
- return self.plugin.html
- else:
- self.fail(_("%s data not found") % self.__name__)
+ return self.plugin.data or self.plugin.last_html or ""
def detect_key(self, data=None):