[colisprive] Catch error pages in browser
This commit is contained in:
parent
c2466f5018
commit
7429c869a8
2 changed files with 6 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ from weboob.tools.browser import BasePage
|
|||
from weboob.capabilities.parcel import Parcel, Event
|
||||
|
||||
|
||||
__all__ = ['TrackPage']
|
||||
__all__ = ['TrackPage', 'ErrorPage']
|
||||
|
||||
|
||||
class TrackPage(BasePage):
|
||||
|
|
@ -50,3 +50,6 @@ class TrackPage(BasePage):
|
|||
p.history.append(ev)
|
||||
|
||||
return p
|
||||
|
||||
class ErrorPage(BasePage):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue