Fix first page parsing (additionnal blank in text)
This commit is contained in:
parent
d814326d2f
commit
1d90c11ad9
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class AccountHistory(BasePage):
|
|||
table = self.document.findall('//tbody')[0]
|
||||
for tr in table.xpath('tr'):
|
||||
textdate = tr.find('td[@class="op_date"]').text_content()
|
||||
textraw = tr.find('td[@class="op_label"]').text_content()
|
||||
textraw = tr.find('td[@class="op_label"]').text_content().strip()
|
||||
# The id will be rewrite
|
||||
op = Transaction(1)
|
||||
amount = op.clean_amount(tr.find('td[@class="op_amount"]').text_content())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue