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, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py
index 20dc60427..6870e4d81 100644
--- a/module/plugins/internal/CaptchaService.py
+++ b/module/plugins/internal/CaptchaService.py
@@ -4,7 +4,7 @@ from module.plugins.internal.Captcha import Captcha
class CaptchaService(Captcha):
- __name__ = "CaptchaService"
+ __name = "CaptchaService"
__type__ = "captcha"
__version__ = "0.32"
__status__ = "testing"
@@ -23,7 +23,7 @@ class CaptchaService(Captcha):
if self.detect_key(data):
return self.key
else:
- self.fail(_("%s key not found") % self.__name__)
+ self.fail(_("%s key not found") % self.__name)
#@TODO: Recheck in 0.4.10, html is now pyfile.data
@@ -31,7 +31,7 @@ class CaptchaService(Captcha):
if hasattr(self.plugin, "html") and self.plugin.html:
return self.plugin.html
else:
- self.fail(_("%s data not found") % self.__name__)
+ self.fail(_("%s data not found") % self.__name)
def detect_key(self, data=None):