credit isn't necessarily a positive amount

This commit is contained in:
Romain Bignon 2012-04-10 10:40:56 +02:00
commit c4ad0e705e

View file

@ -55,7 +55,7 @@ class FrenchTransaction(Transaction):
if len(debit) > 0:
self.amount = - abs(Decimal(debit))
else:
self.amount = abs(Decimal(credit))
self.amount = Decimal(credit)
def parse(self, date, raw):
"""