From ce99cf3951aa346c5efd8885fb8150cef6dffa60 Mon Sep 17 00:00:00 2001 From: Baptiste Delpey Date: Tue, 11 Oct 2016 18:17:13 +0200 Subject: [PATCH] ActionNeeded exception to sometimes replace wrongpass this exception should be raised when credentials work but an action is needed on the website for the module to work. --- weboob/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weboob/exceptions.py b/weboob/exceptions.py index d38f202fcf..2ecc5d7a1a 100644 --- a/weboob/exceptions.py +++ b/weboob/exceptions.py @@ -84,3 +84,7 @@ class ModuleLoadError(Exception): def __init__(self, module_name, msg): Exception.__init__(self, msg) self.module = module_name + + +class ActionNeeded(Exception): + pass -- GitLab