diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-08-10 23:33:29 +0200 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-08-10 23:33:29 +0200 |
commit | a1b042fa6d3631ba71cbbeca18e956659dde96dc (patch) | |
tree | 3263f034c62890f502a536b574cc90a291df9d3f /module/plugins/hooks | |
parent | easybytez.com -- closed #625 (diff) | |
download | pyload-a1b042fa6d3631ba71cbbeca18e956659dde96dc.tar.xz |
update uploading.com
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/ImageTyperz.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hooks/ImageTyperz.py b/module/plugins/hooks/ImageTyperz.py index 5edde0a8a..f27eccf26 100644 --- a/module/plugins/hooks/ImageTyperz.py +++ b/module/plugins/hooks/ImageTyperz.py @@ -39,7 +39,7 @@ class ImageTyperzException(Exception): class ImageTyperz(Hook): __name__ = "ImageTyperz" - __version__ = "0.01" + __version__ = "0.02" __description__ = """send captchas to ImageTyperz.com""" __config__ = [("activated", "bool", "Activated", True), ("username", "str", "Username", ""), @@ -120,12 +120,12 @@ class ImageTyperz(Hook): def captchaInvalid(self, task): if task.data['service'] == self.__name__ and "ticket" in task.data: - response = self.getURL(self.RESPOND_URL, - post={"action": "SETBADIMAGE", - "username": self.getConfig("username"), - "password": self.getConfig("passkey"), - "imageid": task.data["ticket"]} - ) + response = getURL(self.RESPOND_URL, + post={"action": "SETBADIMAGE", + "username": self.getConfig("username"), + "password": self.getConfig("passkey"), + "imageid": task.data["ticket"]} + ) if not response == "SUCCESS": self.logError(("Refund request failed"), response) |