fix navigation
This commit is contained in:
parent
e1db34da1c
commit
0329c73067
2 changed files with 7 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ class CardPage(BasePage):
|
|||
raw = u' '.join([txt.strip() for txt in tds[1].itertext()])
|
||||
amount = u''.join([txt.strip() for txt in tds[-1].itertext()])
|
||||
t.parse(date, re.sub(r'[ ]+', ' ', raw))
|
||||
t.label = tds[1].find('span').text.strip()
|
||||
t.label = unicode(tds[1].find('span').text.strip())
|
||||
t.type = t.TYPE_CARD
|
||||
t.set_amount(amount)
|
||||
yield t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue