Remove multiple whitespaces
This commit is contained in:
parent
d67a02639a
commit
2bb7255a2b
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ class AccountHistory(BasePage):
|
|||
for tr in table.xpath('tr'):
|
||||
textdate = tr.find('td[@class="op_date"]').text_content()
|
||||
textraw = tr.find('td[@class="op_label"]').text_content().strip()
|
||||
textraw = re.sub(' +', ' ', textraw)
|
||||
# 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