fixing bad int values on investment
This commit is contained in:
parent
678e8b0975
commit
96b5108e78
1 changed files with 2 additions and 2 deletions
|
|
@ -83,10 +83,10 @@ class PeaHistoryPage(Page):
|
|||
yield inv
|
||||
|
||||
def parse_decimal(self, string):
|
||||
value = self.parser.tocleanstring(string)
|
||||
value = Transaction.clean_amount(self.parser.tocleanstring(string))
|
||||
if value == '-':
|
||||
return NotAvailable
|
||||
return Decimal(Transaction.clean_amount(value))
|
||||
return Decimal(value)
|
||||
|
||||
def get_operations(self, _id):
|
||||
return iter([])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue