summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/BypassCaptcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 16:11:58 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 16:11:58 +0200
commit761ca5c66e07559925ebbdbc6531f9ca658b12ce (patch)
treebbdf0f330be882877a28366a852c90711c709338 /module/plugins/hooks/BypassCaptcha.py
parentHotfixes (2) (diff)
downloadpyload-761ca5c66e07559925ebbdbc6531f9ca658b12ce.tar.xz
Code cosmetics
Diffstat (limited to 'module/plugins/hooks/BypassCaptcha.py')
-rw-r--r--module/plugins/hooks/BypassCaptcha.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/BypassCaptcha.py b/module/plugins/hooks/BypassCaptcha.py
index 578586ae5..a89d1c23f 100644
--- a/module/plugins/hooks/BypassCaptcha.py
+++ b/module/plugins/hooks/BypassCaptcha.py
@@ -114,12 +114,12 @@ class BypassCaptcha(Hook):
def captcha_correct(self, task):
- if task.data['service'] == self.__name__ and "ticket" in task.data:
+ if task.data['service'] is self.__name__ and "ticket" in task.data:
self.respond(task.data['ticket'], True)
def captcha_invalid(self, task):
- if task.data['service'] == self.__name__ and "ticket" in task.data:
+ if task.data['service'] is self.__name__ and "ticket" in task.data:
self.respond(task.data['ticket'], False)