summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ImageTyperz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/ImageTyperz.py')
-rw-r--r--module/plugins/hooks/ImageTyperz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ImageTyperz.py b/module/plugins/hooks/ImageTyperz.py
index 5fec52eb7..86b1dae2b 100644
--- a/module/plugins/hooks/ImageTyperz.py
+++ b/module/plugins/hooks/ImageTyperz.py
@@ -30,7 +30,7 @@ class ImageTyperzException(Exception):
class ImageTyperz(Addon):
- __name = "ImageTyperz"
+ __name__ = "ImageTyperz"
__type__ = "hook"
__version__ = "0.08"
__status__ = "testing"
@@ -122,7 +122,7 @@ class ImageTyperz(Addon):
if self.get_credits() > 0:
task.handler.append(self)
- task.data['service'] = self.__name__
+ task.data['service'] = self.classname
task.setWaiting(100)
self._process_captcha(task)
@@ -131,7 +131,7 @@ class ImageTyperz(Addon):
def captcha_invalid(self, task):
- if task.data['service'] is self.__name__ and "ticket" in task.data:
+ if task.data['service'] is self.classname and "ticket" in task.data:
res = self.load(self.RESPOND_URL,
post={'action': "SETBADIMAGE",
'username': self.get_config('username'),