added a *.replace() to fix a bug line 86
This commit is contained in:
parent
efd7cb2c75
commit
a609c372e1
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class AccountsList(BasePage):
|
|||
account.balance = Decimal(cpt.xpath("./td[3]/text()")[0].replace(',', '.').replace("EUR", "").replace("\n", "").replace("\t", "").replace(u"\xa0", ""))
|
||||
|
||||
# account coming
|
||||
mycomingval = cpt.xpath("./td[4]/text()")[0].replace(',', '.').replace("EUR", "").replace("\n", "").replace("\t", "")
|
||||
mycomingval = cpt.xpath("./td[4]/text()")[0].replace(',', '.').replace("EUR", "").replace("\n", "").replace("\t", "").replace(u"\xa0", "")
|
||||
|
||||
if mycomingval == '-':
|
||||
account.coming = Decimal(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue