diff options
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 8 |
1 files changed, 8 insertions, 0 deletions
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 """ |