diff options
author | 2015-04-20 23:07:42 +0200 | |
---|---|---|
committer | 2015-04-20 23:07:42 +0200 | |
commit | 2475ddb7654d0d6fb1be18082b5c8c480befdbb3 (patch) | |
tree | b82a8b5fc0a309f69733b0a004284f4ef45833d8 /pyload/plugin/hook/CaptchaBrotherhood.py | |
parent | Spare code cosmetics (9) (diff) | |
parent | added check of classname == filename (diff) | |
download | pyload-2475ddb7654d0d6fb1be18082b5c8c480befdbb3.tar.xz |
Merge branch 'pr/n10_ardi69' into 0.4.10
Conflicts:
pyload/plugin/hoster/FileserveCom.py
Diffstat (limited to 'pyload/plugin/hook/CaptchaBrotherhood.py')
-rw-r--r-- | pyload/plugin/hook/CaptchaBrotherhood.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hook/CaptchaBrotherhood.py b/pyload/plugin/hook/CaptchaBrotherhood.py index 15338b0af..97e1ff25f 100644 --- a/pyload/plugin/hook/CaptchaBrotherhood.py +++ b/pyload/plugin/hook/CaptchaBrotherhood.py @@ -147,7 +147,7 @@ class CaptchaBrotherhood(Hook): if self.getCredits() > 10: task.handler.append(self) - task.data['service'] = self.__class__.__name__ + task.data['service'] = self.getClassName() task.setWaiting(100) self._processCaptcha(task) else: @@ -155,7 +155,7 @@ class CaptchaBrotherhood(Hook): def captchaInvalid(self, task): - if task.data['service'] == self.__class__.__name__ and "ticket" in task.data: + if task.data['service'] == self.getClassName() and "ticket" in task.data: res = self.api_response("complainCaptcha", task.data['ticket']) |