From 111a49e00ee27ff0b620f6672816d40942f61858 Mon Sep 17 00:00:00 2001 From: Xavier G Date: Sat, 19 Feb 2011 15:07:50 +0100 Subject: [PATCH] CrAgr: Fixed the history operation so that it basically works when every non-ASCII character on the bank website is replaced with two interrogation marks. Signed-off-by: Xavier G Signed-off-by: Romain Bignon --- weboob/backends/cragr/pages/accounts_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/backends/cragr/pages/accounts_list.py b/weboob/backends/cragr/pages/accounts_list.py index 2700c9a6..23626d90 100644 --- a/weboob/backends/cragr/pages/accounts_list.py +++ b/weboob/backends/cragr/pages/accounts_list.py @@ -76,7 +76,7 @@ class AccountsList(CragrBasePage): title_spans = self.document.xpath('/html/body/div[@class="dv"]/span') for title_span in title_spans: title_text = title_span.text_content().strip().replace("\n", '') - if (re.match('.*Compte.*n.[0-9]+.*au.*', title_text)): + if (re.match('.*Compte.*n.*[0-9]+.*au.*', title_text)): return True return False