summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/CaptchaTrader.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-31 20:36:19 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-31 20:36:19 +0200
commitdcb1894e0c708df0677187355c6743c08ac44c26 (patch)
tree9edd4c4eccde099a95edc8d7436dce8b92e3aba0 /module/plugins/hooks/CaptchaTrader.py
parentShareLinksBiz decrypter (diff)
downloadpyload-dcb1894e0c708df0677187355c6743c08ac44c26.tar.xz
fixed positional captchas + availbillity over thrift
Diffstat (limited to 'module/plugins/hooks/CaptchaTrader.py')
-rw-r--r--module/plugins/hooks/CaptchaTrader.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/hooks/CaptchaTrader.py b/module/plugins/hooks/CaptchaTrader.py
index 985288090..88b928a50 100644
--- a/module/plugins/hooks/CaptchaTrader.py
+++ b/module/plugins/hooks/CaptchaTrader.py
@@ -101,6 +101,9 @@ class CaptchaTrader(Hook):
raise CaptchaTraderException(response[1])
def newCaptchaTask(self, task):
+ if not task.isTextual():
+ return False
+
if not self.getConfig("username") or not self.getConfig("passkey"):
return False