[weboob] [PATCH 2/3] itella.pm: typo

Matthieu Weber mweber+weboob at free.fr
Fri May 22 19:23:13 CEST 2015


Signed-off-by: Matthieu Weber <mweber+weboob at free.fr>
---
 modules/itella/pages.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/itella/pages.py b/modules/itella/pages.py
index ad98d06..f9fbf32 100644
--- a/modules/itella/pages.py
+++ b/modules/itella/pages.py
@@ -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]
-- 
1.7.10.4




More information about the weboob mailing list