merge LoginPage and Login2Page to prevent problems when the website fails with 500
This commit is contained in:
parent
63cbeea026
commit
2ef5791cf8
3 changed files with 5 additions and 11 deletions
|
|
@ -26,7 +26,7 @@ from weboob.tools.captcha.virtkeyboard import VirtKeyboard, VirtKeyboardError
|
|||
import tempfile
|
||||
|
||||
|
||||
__all__ = ['LoginPage', 'LoginPage2', 'INGVirtKeyboard', 'StopPage']
|
||||
__all__ = ['LoginPage', 'INGVirtKeyboard', 'StopPage']
|
||||
|
||||
|
||||
class INGVirtKeyboard(VirtKeyboard):
|
||||
|
|
@ -108,10 +108,6 @@ class LoginPage(BasePage):
|
|||
return err is not None
|
||||
|
||||
|
||||
class LoginPage2(BasePage):
|
||||
def on_loaded(self):
|
||||
pass
|
||||
|
||||
def login(self, password):
|
||||
# 2) And now, the virtual Keyboard
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue