From 443df5360c731166543730815230761dd3356a55 Mon Sep 17 00:00:00 2001 From: sputnick Date: Sun, 22 Apr 2012 19:13:33 +0200 Subject: [PATCH] added missing operation.raw for pages/accounts_list.py --- modules/fortuneo/pages/accounts_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fortuneo/pages/accounts_list.py b/modules/fortuneo/pages/accounts_list.py index bc23eba0..dc9af018 100644 --- a/modules/fortuneo/pages/accounts_list.py +++ b/modules/fortuneo/pages/accounts_list.py @@ -46,7 +46,7 @@ class AccountHistoryPage(BasePage): date_oper = tables[i].xpath("./td[2]/text()")[0] date_val = tables[i].xpath("./td[3]/text()")[0] label = tables[i].xpath("./td[4]/text()")[0] - operation.label = unicode(label.strip()) + operation.label = operation.raw = unicode(label.strip()) amount = tables[i].xpath("./td[5]/text() | ./td[6]/text()") operation.date = datetime.datetime.strptime(date_val, "%d/%m/%Y") operation.rdate = datetime.datetime.strptime(date_oper,"%d/%m/%Y")