diff options
author | 2015-04-16 19:38:27 +0200 | |
---|---|---|
committer | 2015-04-16 19:38:27 +0200 | |
commit | d7ced99ef511ce9f0a81e437db2f31fce8717b23 (patch) | |
tree | 3df5e579ade317e01da47ded86d98483f0857fcb /pyload/plugin/hook/ImageTyperz.py | |
parent | Merge pull request #1 from vuolter/0.4.10 (diff) | |
download | pyload-d7ced99ef511ce9f0a81e437db2f31fce8717b23.tar.xz |
fixed: more typos
Diffstat (limited to 'pyload/plugin/hook/ImageTyperz.py')
-rw-r--r-- | pyload/plugin/hook/ImageTyperz.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyload/plugin/hook/ImageTyperz.py b/pyload/plugin/hook/ImageTyperz.py index ca5e02559..5dadc09f1 100644 --- a/pyload/plugin/hook/ImageTyperz.py +++ b/pyload/plugin/hook/ImageTyperz.py @@ -40,8 +40,8 @@ class ImageTyperz(Hook): __description = """Send captchas to ImageTyperz.com""" __license = "GPLv3" - __authors = [("RaNaN" , "RaNaN@pyload.org" ), - ("zoidberg", "zoidberg@mujmail.cz")] + __authors = [("RaNaN" , "RaNaN@pyload.org"), + ("zoidberg", "zoidberg@mujmail.cz")] SUBMIT_URL = "http://captchatypers.com/Forms/UploadFileAndGetTextNEW.ashx" @@ -118,16 +118,16 @@ class ImageTyperz(Hook): if self.getCredits() > 0: task.handler.append(self) - task.data['service'] = self.__name + task.data['service'] = self.__class__.__name__ task.setWaiting(100) self._processCaptcha(task) else: - self.logInfo(_("Your %s account has not enough credits") % self.__name) + self.logInfo(_("Your %s account has not enough credits") % self.__class__.__name__) def captchaInvalid(self, task): - if task.data['service'] == self.__name and "ticket" in task.data: + if task.data['service'] == self.__class__.__name__ and "ticket" in task.data: res = getURL(self.RESPOND_URL, post={'action': "SETBADIMAGE", 'username': self.getConfig('username'), |