diff options
| author | 2015-10-23 13:29:12 +0200 | |
|---|---|---|
| committer | 2015-10-23 13:29:12 +0200 | |
| commit | c9b42f02f83a95d7741eee96247466d3b610b159 (patch) | |
| tree | ba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/internal/CaptchaService.py | |
| parent | [Dereferer] Don't preload (diff) | |
| download | pyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz | |
self.html -> self.data
Diffstat (limited to 'module/plugins/internal/CaptchaService.py')
| -rw-r--r-- | module/plugins/internal/CaptchaService.py | 6 | 
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):  | 
