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:
Matthieu Weber 2015-05-22 20:23:13 +03:00 committed by Romain Bignon
commit b1f4cb1c16

View file

@ -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]