From 372da14347fd90ecdfd75d5c890f83b462c3ae00 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 26 Nov 2014 15:11:08 +0100 Subject: [PATCH] forgot to parse investment labels --- modules/fortuneo/pages/accounts_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/fortuneo/pages/accounts_list.py b/modules/fortuneo/pages/accounts_list.py index 599af96c..507cd4dd 100644 --- a/modules/fortuneo/pages/accounts_list.py +++ b/modules/fortuneo/pages/accounts_list.py @@ -66,6 +66,7 @@ class InvestmentHistoryPage(Page): inv = Investment() inv.id = unicode(re.search('cdReferentiel=(.*)', cols[self.COL_LABEL].find('a').attrib['href']).group(1)) inv.code = re.match('^[A-Z]+[0-9]+(.*)$', inv.id).group(1) + inv.label = self.parser.tocleanstring(cols[self.COL_LABEL]) inv.quantity = self.parse_decimal(cols[self.COL_QUANTITY]) inv.unitprice = self.parse_decimal(cols[self.COL_UNITPRICE]) inv.unitvalue = self.parse_decimal(cols[self.COL_UNITVALUE])