several fixes
This commit is contained in:
parent
d6f232198a
commit
af08bd0eeb
4 changed files with 10 additions and 5 deletions
|
|
@ -45,7 +45,7 @@ class AccountHistory(BasePage):
|
|||
label = label.strip()
|
||||
amount = tds[2].text.replace('.', '').replace(',', '.')
|
||||
# if we don't have exactly one '.', this is not a floatm try the next
|
||||
operation = Operation()
|
||||
operation = Operation(len(self.operations))
|
||||
if amount.count('.') != 1:
|
||||
amount = tds[3].text.replace('.', '').replace(',', '.')
|
||||
operation.amount = float(amount)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue