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
|
yield inv
|
||||||
|
|
||||||
def parse_decimal(self, string):
|
def parse_decimal(self, string):
|
||||||
value = self.parser.tocleanstring(string)
|
value = Transaction.clean_amount(self.parser.tocleanstring(string))
|
||||||
if value == '-':
|
if value == '-':
|
||||||
return NotAvailable
|
return NotAvailable
|
||||||
return Decimal(Transaction.clean_amount(value))
|
return Decimal(value)
|
||||||
|
|
||||||
def get_operations(self, _id):
|
def get_operations(self, _id):
|
||||||
return iter([])
|
return iter([])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue