From 237cfb92525fad432a2b14f4b5405e530f0f3aa3 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 29 Apr 2014 17:19:24 +0200 Subject: [PATCH] do not override rdate with operation date --- modules/fortuneo/pages/accounts_list.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/fortuneo/pages/accounts_list.py b/modules/fortuneo/pages/accounts_list.py index 20447aa0..e7c87aba 100644 --- a/modules/fortuneo/pages/accounts_list.py +++ b/modules/fortuneo/pages/accounts_list.py @@ -21,7 +21,6 @@ from lxml.html import etree from decimal import Decimal import re -import datetime from weboob.capabilities.bank import Account from weboob.tools.browser import BasePage, BrowserIncorrectPassword @@ -74,8 +73,7 @@ class AccountHistoryPage(BasePage): label = re.sub(r'[ \xa0]+', ' ', label).strip() amount = tables[i].xpath("./td[5]/text() | ./td[6]/text()") - operation.parse(date=date_val, raw=label) - operation.rdate = datetime.datetime.strptime(date_oper,"%d/%m/%Y") + operation.parse(date=date_oper, raw=label, vdate=date_val) if amount[1] == u'\xa0': amount = amount[0]