Remove "votre solde" in history / strip labels

This commit is contained in:
Florent 2013-08-26 16:41:18 +02:00
commit 1756e8939b

View file

@ -108,7 +108,9 @@ class Leclercmobile(BaseBrowser):
if mimetype == "application/pdf":
pdf = PdfPage(StringIO.StringIO(response.read()))
for call in pdf.get_calls():
yield call
call.label = call.label.strip()
if call.label != "Votre solde":
yield call
def get_details(self):
if not self.is_on_page(HistoryPage):