From f263d18eff143982095c829cc86858c8025247a5 Mon Sep 17 00:00:00 2001 From: mkaay Date: Mon, 31 Jan 2011 23:46:36 +0100 Subject: really fixed proxy support --- module/plugins/Plugin.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'module/plugins/Plugin.py') diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 8af61c5fc..0a1eba0ee 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -224,6 +224,14 @@ class Plugin(object): if self.ctresult: self.self.ctresult.fail() raise Retry + + def invalidCaptcha(self): + if self.ctresult: + self.self.ctresult.fail() + + def correctCaptcha(self): + if self.ctresult: + self.self.ctresult.success() def decryptCaptcha(self, url, get={}, post={}, cookies=False, forceUser=False, imgtype="jpg"): """ loads the catpcha and decrypt it or ask the user for input """ -- cgit v1.2.3