on page to update user information, raise BrowserIncorrectPassword
This commit is contained in:
parent
5b9c359487
commit
cc31e73f23
3 changed files with 9 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ import hashlib
|
|||
import urllib
|
||||
import tempfile
|
||||
|
||||
from weboob.tools.browser import BasePage
|
||||
from weboob.tools.browser import BasePage, BrowserIncorrectPassword
|
||||
from weboob.tools.captcha.virtkeyboard import MappedVirtKeyboard
|
||||
|
||||
|
||||
|
|
@ -100,3 +100,7 @@ class LoginPage(BasePage):
|
|||
}
|
||||
|
||||
self.browser.location(form.attrib['action'], urllib.urlencode(args), no_login=True)
|
||||
|
||||
class UpdateInfoPage(BasePage):
|
||||
def on_loaded(self):
|
||||
raise BrowserIncorrectPassword('Please update your user informations')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue