From 01b509630338f9623b4d107782ac596ec4d30fa6 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 24 May 2013 13:48:43 +0200 Subject: [PATCH] No more "MENSUELLE" line --- modules/leclercmobile/pages/history.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/leclercmobile/pages/history.py b/modules/leclercmobile/pages/history.py index 61ae4a9a..abb5fa4a 100644 --- a/modules/leclercmobile/pages/history.py +++ b/modules/leclercmobile/pages/history.py @@ -62,7 +62,6 @@ class PdfPage(): page = txt.split('CONSOMMATION')[2].split('ACTIVITE DETAILLEE')[0] lines = page.split('\n') lines = [x for x in lines if len(x) > 0] # Remove empty lines - lines.pop(0) # "MENSUELLE" lines.pop(0) # "Votre consommation au " details = [] detail = None