new select() helper
This commit is contained in:
parent
eb026b7c3c
commit
b4c672fa46
6 changed files with 67 additions and 51 deletions
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
import re
|
||||
|
||||
from weboob.tools.browser import ExpectedElementNotFound
|
||||
from weboob.backends.aum.pages.base import PageBase
|
||||
from logging import error
|
||||
|
||||
|
|
@ -47,4 +46,5 @@ class HomePage(PageBase):
|
|||
i += 1
|
||||
if i == 3:
|
||||
return int(font.firstChild.data)
|
||||
raise ExpectedElementNotFound(u'Could not parse number of charms available')
|
||||
logging.warning(u'Could not parse number of charms available')
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue