diff options
author | 2016-01-10 01:12:35 +0100 | |
---|---|---|
committer | 2016-01-10 01:12:35 +0100 | |
commit | 275ecd47f14ebee8309de1e1f13d090ca50c38fe (patch) | |
tree | f9c22e6fc16f376fcc6f34df9f86af3a300fbabe /module/plugins/hooks/ImageTyperz.py | |
parent | [ExternalScripts] Update (diff) | |
download | pyload-275ecd47f14ebee8309de1e1f13d090ca50c38fe.tar.xz |
"is" is evil (2)
Diffstat (limited to 'module/plugins/hooks/ImageTyperz.py')
-rw-r--r-- | module/plugins/hooks/ImageTyperz.py | 4 |
1 files changed, 2 insertions, 2 deletions
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'), |