From 275ecd47f14ebee8309de1e1f13d090ca50c38fe Mon Sep 17 00:00:00 2001 From: Nitzo Date: Sun, 10 Jan 2016 02:12:35 +0200 Subject: "is" is evil (2) --- module/plugins/hooks/ImageTyperz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hooks/ImageTyperz.py') diff --git a/module/plugins/hooks/ImageTyperz.py b/module/plugins/hooks/ImageTyperz.py index 4c43c9189..7b9ca3a46 100644 --- a/module/plugins/hooks/ImageTyperz.py +++ b/module/plugins/hooks/ImageTyperz.py @@ -32,7 +32,7 @@ class ImageTyperzException(Exception): class ImageTyperz(Addon): __name__ = "ImageTyperz" __type__ = "hook" - __version__ = "0.11" + __version__ = "0.12" __status__ = "testing" __config__ = [("activated" , "bool" , "Activated" , False), @@ -131,7 +131,7 @@ class ImageTyperz(Addon): def captcha_invalid(self, task): - if task.data['service'] is self.classname and "ticket" in task.data: + if task.data['service'] == self.classname and "ticket" in task.data: res = self.load(self.RESPOND_URL, post={'action': "SETBADIMAGE", 'username': self.config.get('username'), -- cgit v1.2.3