From dcb1894e0c708df0677187355c6743c08ac44c26 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 31 May 2011 20:36:19 +0200 Subject: fixed positional captchas + availbillity over thrift --- module/plugins/hooks/CaptchaTrader.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/plugins/hooks/CaptchaTrader.py') 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 -- cgit v1.2.3