itella.pm: typo
Signed-off-by: Matthieu Weber <mweber+weboob@free.fr> Signed-off-by: Romain Bignon <romain@symlink.me>
This commit is contained in:
parent
1d67bf360f
commit
b1f4cb1c16
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class SearchPage(HTMLPage):
|
|||
if result_id != _id:
|
||||
raise ParcelNotFound("ID mismatch: expecting %s, got %s" % (_id, result_id))
|
||||
|
||||
p = Parcel(id)
|
||||
p = Parcel(_id)
|
||||
events = self.doc.xpath('//div[@id="shipment-event-table-cell"]')
|
||||
p.history = [self.build_event(i, div) for i, div in enumerate(events)]
|
||||
most_recent = p.history[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue