Rename BasePage to Page
This commit is contained in:
parent
44dffce7b2
commit
444d36eee8
146 changed files with 525 additions and 525 deletions
|
|
@ -22,10 +22,10 @@ import re
|
|||
from dateutil.parser import parse as parse_date
|
||||
|
||||
from weboob.capabilities.parcel import Parcel, Event
|
||||
from weboob.tools.browser import BasePage
|
||||
from weboob.tools.browser import Page
|
||||
|
||||
|
||||
class TrackPage(BasePage):
|
||||
class TrackPage(Page):
|
||||
def get_info(self, id):
|
||||
if len(self.parser.tocleanstring(self.document.xpath('//p[@class="error"]')[0])) > 0:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue