From c5e68a2c44f74200d0c9a52ad8508d3c5d6184df Mon Sep 17 00:00:00 2001 From: Nicolas Duhamel Date: Sun, 4 Dec 2011 11:49:19 +0100 Subject: [PATCH] fix bp backend (closes #730) Signed-off-by: Nicolas Duhamel Signed-off-by: Romain Bignon --- weboob/backends/bp/pages/accounthistory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/backends/bp/pages/accounthistory.py b/weboob/backends/bp/pages/accounthistory.py index e44cdbdb..4508fb6c 100644 --- a/weboob/backends/bp/pages/accounthistory.py +++ b/weboob/backends/bp/pages/accounthistory.py @@ -39,7 +39,7 @@ class AccountHistory(BasePage): operation = Operation(len(operations)) operation.date = mvt.xpath("./td/span")[0].text tmp = mvt.xpath("./td/span")[1] - operation.label = self.parser.tocleanstring(tmp) + operation.label = unicode(self.parser.tocleanstring(tmp)) r = re.compile(r'\d+')